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