import sys N, *A = map(int, sys.stdin.read().split()) print(sum(A))