import numpy as np import sys readline = sys.stdin.buffer.readline read = sys.stdin.buffer.read N = int(readline()) x= np.array(read().split(), np.float128) print(len(x)) x = np.sqrt(x).cumsum() print('\n'.join(x.astype(str)))