enum M{M;System z;{for(int n=new java.util.Scanner(z.in).next().hashCode(),i=2;i++<11;)z.out.print(n%9/6*i/3-n%6/3*~(i%3)+n%3*i/9+(i%3<2?" ":"\n"));}}

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

download

return to the top page