var b,i,j,k=0 while(b>=0){b=System.in.read if(b==10){printf(i+"B / %d"*2+"B\n",j,k) i=0 j=0 k=2} if(b>126)i+=1 else if(b.toChar.getType>9)k+=1-32/b else j+=1}

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page