import sys read = sys.stdin.buffer.read readline = sys.stdin.buffer.readline N = int(readline()) nums = map(int, read().split()) ans = [0.0] * N s = 0 for i,x in enumerate(nums): s += x**.5 ans[i] = s S = '\n'.join(map(str, ans)) print(S)