while 1: t=raw_input().count for s in"m kg s A K mol cd".split(): \x09n=t(s)+t(s+'2')-t(s+'o') \x09if n:print s+1%n*`n`, print
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page