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