for(R=[],G=16;Q=readline(--G);)for(F in Q)'*'==Q[F]&&R.push([(T=Math.atan2(G,F-=15))+9*(T<0),<>({F}, {G})</>]);for(F in R.sort())print(R[F][1])

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

download

return to the top page