<?for($n=fgets(STDIN),$l=fgets(STDIN);$i++<$n;print"\n")for($j=-1;$l[++$j]!="\n";)for($k=0;$k++<$n;)echo$i==1|$i==$n|$k==1|$k==$n?$l[$j]:' ';
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page