N = int(input()) A = [] for _ in range(N): x = int(input()) A.append(x) print(sum(A))