N=int(input()) A = [""] * N for i in range(N): A[i]=int(input()) ans=0 for item in A: ans+=item print(ans)