N = int(input()) x = 0 for n in range(0,N): A[n] = int(input()) x = x + A[n] print(x)