x=0 for var in range(0,int(input())): x+=int(input()) print(x)