import numpy as np A = int(input()) B = [0] * int(A) B[0] = np.sqrt(int(input())) counter = 1 for x in range(A-1): B[counter] = B[counter-1] + np.sqrt(int(input())) counter = counter + 1 print(B)