from sys import stdin def main(): N = int(input()) A = [int(input()) for _ in [0] * N] ans = 0 for i in A: ans += i print(ans) input = stdin.readline main()