Yet Another Roman Numeral Problem FIXED by Bonjour27891

while 1:s=sum((c>'H')+2*(c>'U')for c in input());print('I'*(s==4)+'V'*(s>3)+'I'*(s%5)*(s!=4))

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)

download

return to the top page