import sys import numpy as np read = sys.stdin.buffer.read readline = sys.stdin.buffer.readline readlines = sys.stdin.buffer.readlines N = int(readline()) nums = np.array(read().split(), np.longdouble) np.sqrt(nums, out=nums) nums = nums.astype(np.longdouble) np.cumsum(nums, out=nums) np.set_printoptions(precision=17, suppress=True) print(*nums, sep='\n')