import math A = input() B = [] C = [] counter = 0 for x in range(int(A)): B.append(input()) C.append(0) counter = 0 for y in B: C[x] = C[x] + math.sqrt(B[counter]) counter = counter + 1