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_end-i_start)%2 != 0){ System.out.println("Impossible"); return; } long steps = 0; ArrayList al = new ArrayList(); while(i_start!=i_end || j_start!=j_end){ if(i_start==i_end && Math.abs(j_start-j_end)==1){ System.out.println("Impossible"); return; } //System.out.println(i_start+" "+j_start+" "+i_end+" "+j_end+" "); if(i_endj_start){ steps++; j_start+=2; al.add(2); } else if(i_end>i_start){ if(j_end>=j_start){ steps++; j_start+=1; i_start+=2; al.add(3); } else{ steps++; j_start-=1; i_start+=2; al.add(4); } } else{ if(j_end