<?for(;$s=fgets(STDIN);)for($n=51;$n--;)for($i=0;' '<$p=substr($s,$i++,$n);)$p==strrev($p)&&$n=$s=!print"$p ";
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page