var x, TOTAL : longint; begin TOTAL := 0; while not eof do begin readln(x); TOTAL := TOTAL + x; end; writeln(TOTAL); end.