using C=System.Console;class F{static void Main(){foreach(var c in C.ReadLine()[7]<49?"\x05\x08\x07\x02":"\x08\x02\x03\x04\x09\x04\x06\x02\x16\x09\x02\x06\x04\x04\x02\x02\x06\x05\x1b\x0b")C.Write("0\n".PadLeft(c,'S'));}}
Note that non-ascii characters in the above source code will be escaped (such as \x9f).