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