import os import numpy as np read = sys.stdin.buffer.read readline = sys.stdin.buffer.readline readlines = sys.stdin.buffer.readlines nums = np.array(os.read(0, 10**8).split(), np.longdouble)[1:] np.sqrt(nums, out=nums) nums = nums.astype(np.longdouble) np.cumsum(nums, out=nums) print('\n'.join(map(str, nums.tolist())))