int r=stdin;for(int x=1;x<=r;++x,write())for(int y=1;y<=r;++y)ask(x>1&&x1&&y