*c;f(a,b){c=strtok(a," ");*c%2?f(0),a=*c%4,f(),b=c,f(),c=a?c:b:strtok();}main(i){for(;gets(&i);puts(c))f();}
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page