fork download
  1. a=11,c,d;main(b){char s[a];read(0,s,a);for(;a--;b+=s[a]);for(;s[d]!=46;d="-H$6 QZ"[c]/9,c++);s[d]=111+b/69%2*9;puts(s);}
Success #stdin #stdout 0.01s 5276KB
stdin
...
...
..o
stdout
x..
...
..o