a=int(input()) c=0 for i in range (1,a+1): b=int(input()) c+=b print(c)