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 [][] coords = new int [n][n]; int moves=0; String s=""; if(((i_end-i_start) % 2) != 0){ System.out.println("Impossible"); }else{ if(i_end>i_start){ if(j_end>j_start){ while(i_end-i_start != 0){ s+="LR "; i_start+=2; j_start++; moves++; } while(j_end-j_start != 0){ s+="R "; j_start+=2; moves++; } }else if(j_endj_start){ while(i_start-i_end != 0){ s+="UR "; i_start-=2; j_start++; moves++; } while(j_end-j_start != 0){ s+="R "; j_start+=2; moves++; } }else if(j_end