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