import java.io.*; import java.util.*; import java.text.*; import java.math.*; import java.util.regex.*; public class Solution { static void printShortestPath(int n, int i_start, int j_start, int i_end, int j_end) { int[][] ar=new int[n][n]; ar[i_end][j_end]=1; int i=i_start,j=j_start,count=0,f=0; String str=""; int n1=(n-1)*(n-1); while(n1>0) { // if(i_start==j_end) //{ // f=1; // break; //} // else{ if((i-2=0&&j-1>=0)&&(sh(i-2,j-1,i_end,j_end)=0&&j+1>=0)&&(sh(i-2,j+1,i_end,j_end)=0&&j+2>=0)&&(sh(i,j+2,i_end,j_end)=0&&j+1>=0)&&(sh(i+2,j+1,i_end,j_end)=0&&j-1>=0)&&(sh(i+2,j-1,i_end,j_end)=0&&j-2>0)&&(sh(i,j-2,i_end,j_end)