while 1: b=a=l=0 for c in raw_input():b+=c>'~';a+=c.isalnum();l+=c>' ' print'%dB / %dB / %dB'%(b,a,l-b-a)
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page