N = input() A = map(int, input().split()) print(sum(A))