for(;s=readline();print(eval("(Array(99).join(0)+a).replace(/.{"+b+"}$/,'.$&')").replace(/^0+(?!\.)|\.?0*$/g,'')))[a,b]=s.split(" ")
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page