N=int(input()) O=0 for i in range(N):O+=int(input()) print(O)