I=input a=0 B=2**70 for n in range(int(I())): a+=int((int(I())<<140)**0.5) print('{:.16g}'.format(a/B))