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.float64) np.sqrt(nums, out=nums) nums = nums.astype(np.longdouble) np.cumsum(nums, out=nums) nums = nums.astype(np.float64) print(*nums, sep='\n')