a = int(input()) b = map(int,input().split()) print(sum(b))