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