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) { // Print the distance along with the sequence of moves. if(Math.abs(i_start-i_end)%3==0 &&(Math.abs(j_start-j_end)%2!=0|| j_start==j_end)){ int ii= Math.abs(i_start-i_end)/2; int jj=Math.abs((j_start-j_end)-ii)/2; System.out.println(ii+jj); for(int i=0;i