for(i in a<-seq(s<-readChar("stdin",!!1:9e3)))s[i][s[i]>-1&0<v]=v=sum(s[a%in%(i+-3:5%/%3+-1:1*41)]=="*") cat(s,sep="")
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page