N = int(input()) ans =0 for i in range(N): n = int(input()) ans +=n print(ans)