N = int(input()) ans = 0 for i in range(N): ans += float(input()) print('{:.10f}'.format(ans))