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 tempi,ul,l,r,tempj,i,moves; if(i_start>i_end && j_start>j_end) { tempi= i_start-i_end; tempj=j_start-j_end; ul=tempi/2; l=(tempj-ul)/2; moves=ul+l; System.out.println(moves); for(i=0;ii_end && j_startul) {l=(tempj-ul)/2; } else l=0; moves=ul+l; System.out.println(moves); for(i=0;i