char*q,s[9999],*p=s+6;main(){for(q=s+read(0,s,s);putchar(*s%2?*++p?*p++:--q>s+6?*--q:0:++p<q--?p-q&&putchar(*p),*q:0););}
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page