t=0 l=map(int,open('../fd/0')) while 1:t+=l.pop();print t