i=int(input()) f=input().split() ans=0 for i in range(len(f)): ans=ans+int(f[i]) print(ans)