j=0 i=0 while(1) do i=io.read() if(i==nill) then break;end j=j+i end print(j)