N=int(input()) numbers=input().split() ans=0 for i in numbers: ans+=int(i) print(ans)