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