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