fuck = input()

nums = map(int,input().split())
sum = 0

for i in nums:
    sum += i

print(sum)