while 1:i=sum(map(ord,raw_input()))%72%32%11;print"IV"[2-9/i&3:]+i%5%4*"I"
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page