N = int(input()) ans = 0 for _ in range(N): num = int(input()) ans += num print(ans)