#include #include #include #include #include using namespace std; int main() { /* Enter your code here. Read input from STDIN. Print output to STDOUT */ int n; cin>>n; int a,b,x,y; cin>>a>>b>>x>>y; int dx = x - a; int dy = y - b; int u,v; if( dx >= 0){ u = 1; } else{ u = -1; } if(dy >= 0) v = 1; else v = -1; int flag =0; int fi , fj ; //cout<0 && v>0)? "LR" : ( u>0 && v<0)? "LL" : ( u<0 && v>0)? "UR" :"UL"; for(int i=0;i 0)? "R" : "L"; for(int i=0;i