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