n=int(input()) num=0 for i in range(n): num=int(input()) sum+=num print(num)