N = int(input()) A = input().split() A_sum = 0 for A_number in A: A_sum = A_sum + int(A_number) print(A_sum)