import std.stdio;void main(){for(auto s=readln.dup;*s>47;)*s+=printf(&*s)>2&*s<50?s=s[1..$],9:-1;}
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page