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