using C=System.Console;class M{static void Main(){for(int b,i=0;i<(i+=b=C.Read());)if(b<11){C.WriteLine("VII V III VIII VI IV II".Split(' ')[i%7]);i=0;}}}
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page