Print grid, k<50