def f(n,s=''): if(n>9>f(n-10,s+'*'))|(n%10>1>f(n-1,s+'|'))<1:print s f(int(raw_input()[::2]))
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page