enum M{M;System z;int b,c,i;{try{for(;(c=z.in.read())>0;z.out.print(i++>9?"\n":c/32==2?b++<1?i:" "+i:""))b*=i%=11;}catch(Exception e){}}}