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. // UL UR // L * R // LL LR int ii=i_start-i_end,iii=Math.abs(ii);int x=0; int jj=j_start-j_end,jjj=Math.abs(jj);String XXX=""; if (iii%2==1) {System.out.println("Impossible");return;} int xx=iii/2%2; // 0 3 4 3 if((xx+jjj)%2==1){System.out.println("Impossible");return;} while(i_start!=i_end||j_start!=j_end){ if(i_starti_end&&j_start>=j_end) {XXX+="UL ";i_start-=2;j_start--;x++;} if(i_start>i_end&&j_startj_end) {XXX+="LL ";i_start+=2;j_start--;x++;} if(i_start==i_end&&j_start>j_end) {XXX+="L ";j_start-=2;x++;} if(i_start==i_end&&j_start