shit = input()
map = map(int,input().split())

sum = 0
for i in map:
    sum += i

print(sum)