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