for(int i,j;i<512;++i,write())for(ask(format("%04o is ",i)),j=10;j>0;)ask(substr("xwr-",i/2^--j%2<1?3:j%3,1));