multiply SI units by recursive

while 1:N=(raw_input()+" ").count;print" ".join(u+`c`*(c>1)for(u,c)in[(u,N(u+" ")+2*N(u+"2"))for u in"m kg s A K mol cd".split()]if c)

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

To protect the system from spam, please input your favorite sport (hint: I believe its name must start with 'g', case insensitive)


return to the top page