Wonderful Multisets by rotary-o

enum M{M;System z;{try{for(long b,n=1;(b=z.in.read()%9)>0;n=b<2?1:b<5?n+b*2-7:b<7?n*18:n/18-n%18/9+1)if(b<2)z.out.println(n/2);}catch(Exception e){}}}

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

To protect the system from spam, please input your favorite sport (hint: I believe its name must start with 'g', case insensitive)

download

return to the top page