#include #define endl "\n" using namespace std; int n,a[210][210],vis[210][210]; string s[210][210]; int isv(int x,int y) { if(x<0 || x>=n || y<0 || y>=n) return 0; return 1; } int cal(int x,int y) { if(x<0 || x>=n || y<0 || y>=n) return -1; if(a[x][y]!=-1) return a[x][y]; int tp=-1,tp2; vis[x][y]=1; if(isv(x-2,y-1) && vis[x-2][y-1]==0) tp=cal(x-2,y-1); s[x][y]="UL"; if(isv(x-2,y+1)) { if(vis[x-2][y+1]==0) tp2=cal(x-2,y+1); tp2=a[x-2][y+1]; if(tp==-1 || (tp2!=-1 && tp2>n; cin>>x1>>y1>>x2>>y2; for(i=0;i<=n;i++) for(j=0;j<=n;j++) a[i][j]=-1; a[x2][y2]=0; tp=cal(x1,y1); if(tp==-1) cout<<"Impossible\n"; else { cout<