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