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. int d = 0; if((i_start == i_end) && ((j_start - j_end)%2 == 0)){ d = (j_start - j_end)/2; if(d>0){//left System.out.println(d); for(int k =0;k0){//up System.out.println(d); for(int k =0;k