a=int(input()) b=list(map(int,input().split())) ans=0 for i in b: ans+=i print(ans)