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