a=readLines("stdin");n=0;for(i in 1:220){b=strsplit(a[i]," ")[[1]];n=n+sum(b=="*");if(i%%11<1){write(n/2,"");n=0}}

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return top