f:=method(x,y,s,if(x<1,s println)if(y0,f(x-1,y-1,s .."1"))) File standardInput readLine split map(asNumber)do(f(at(0),last,""))