var a,s:word;begin while not eof do begin readln(a);s:=s+a;end;write(s)end.