N = int(input()) A = map(int,input().split()) total = 0 for i in range(1,N+1): total += A[i] print(total)