#include <fstream>
#include <iostream>
#include <string>
#include <complex>
#include <math.h>
#include <set>
#include <vector>
#include <map>
#include <queue>
#include <stdio.h>
#include <stack>
#include <algorithm>
#include <ctime>
#include <memory.h>
#include <bitset>
#include <climits>
#include <iomanip>

#define F first
#define S second
#define endl "\n"
#define pb push_back
#define mp make_pair
#define bs 1000000007
#define pi 3.141592653589793
#define y1 kjdfshnvoavaofobiopj
#define ends yryrqayrehojoborolo
using namespace std;

int x1, y1, x2, y2;
string st;
bool swapped;
vector<string>myvec;

int main(){
//freopen("input.txt", "r", stdin);
//freopen("output.txt", "w", stdout);
ios_base::sync_with_stdio(0);
cin.tie(0);

cin>>x1>>y1>>x2>>y2;
if(x1 != x2 && y1 != y2)
{
    if(y1 > y2)
        swap(x1, x2), swap(y1, y2), swapped = true;
    for(int i = 0; i < abs(y1-y2); i++)
    {
        if(y1 < y2)
            st += 'U';
        else
            st += 'D';
    }
    for(int i = 0; i < abs(x1-x2); i++)
    {
        if(x1 < x2)
            st += 'R';
        else
            st += 'L';
    }

    myvec.pb(st);
    int len = st.size();
    st = "";
    for(int i = len-1; i+1; i--)
    {
        if(myvec[0][i] == 'R')
            st += 'L';
        else if(myvec[0][i] == 'L')
            st += 'R';
        else if(myvec[0][i] == 'U')
            st += 'D';
        else if(myvec[0][i] == 'D')
            st += 'U';
    }
    reverse(st.begin(), st.end());
    myvec.pb(st);



    if(x1 < x2)
        st = 'L';
    else
        st = 'R';
    for(int i = 0; i <= abs(y1-y2); i++)
    {
        if(y1 < y2)
            st += 'U';
        else
            st += 'D';
    }
    for(int i = 0; i <= abs(x1-x2); i++)
    {
        if(x1 < x2)
            st += 'R';
        else
            st += 'L';
    }
    st += 'D';
    myvec.pb(st);
    len = st.size();
    st = "";
    for(int i = len-1; i+1; i--)
    {
        if(myvec[2][i] == 'R')
            st += 'L';
        else if(myvec[2][i] == 'L')
            st += 'R';
        else if(myvec[2][i] == 'U')
            st += 'D';
        else if(myvec[2][i] == 'D')
            st += 'U';
    }
    reverse(st.begin(), st.end());
    myvec.pb(st);

    if(swapped)
    {

        for(int i = 0; i < myvec.size(); i++)
        {
            for(int j = 0; j < myvec[i].size(); j++)
            if(myvec[i][j] == 'R')
                cout<<'L';
            else if(myvec[i][j] == 'L')
                cout<<'R';
            else if(myvec[i][j] == 'U')
                cout<<'D';
            else if(myvec[i][j] == 'D')
                cout<<'U';

        }
        cout<<endl;
        return 0;
    }


    for(int i = 0; i < myvec.size(); i++)
        for(int j = 0; j < myvec[i].size(); j++)
            cout<<myvec[i][j];
    cout<<endl;
    return 0;
}





if(y1 == y2)
{
    for(int i = 0; i < abs(x1-x2); i++)
    {
        if(x1 < x2)
            st += 'R';
        else
            st += 'L';
    }
    myvec.pb(st);
    int len = st.size();
    st = 'U';
    for(int i = len-1; i+1; i--)
    {
        if(myvec[0][i] == 'R')
            st += 'L';
        else if(myvec[0][i] == 'L')
            st += 'R';
        else if(myvec[0][i] == 'U')
            st += 'D';
        else if(myvec[0][i] == 'D')
            st += 'U';
    }
    st += 'D';
    myvec.pb(st);
    st = 'D';
    for(int i = len-1; i+1; i--)
    {
        st += myvec[0][i];
    }
    st += 'U';
    myvec.pb(st);
    if(x1 < x2)
        st = "RUU";
    else
        st = "LUU";
    for(int i = 0; i < abs(x1-x2)+2; i++)
    {
        if(x1 < x2)
            st += 'L';
        else
            st += 'R';
    }
    if(x1 < x2)
        st += "DDR";
    else
        st += "DDL";
    myvec.pb(st);
}



else if(x1 == x2)
{
    for(int i = 0; i < abs(y1-y2); i++)
    {
        if(y1 < y2)
            st += 'U';
        else
            st += 'D';
    }
    myvec.pb(st);
    int len = st.size();
    st = 'R';
    for(int i = len-1; i+1; i--)
    {
        if(myvec[0][i] == 'R')
            st += 'L';
        else if(myvec[0][i] == 'L')
            st += 'R';
        else if(myvec[0][i] == 'U')
            st += 'D';
        else if(myvec[0][i] == 'D')
            st += 'U';
    }
    st += 'L';
    myvec.pb(st);
    st = 'L';
    for(int i = len-1; i+1; i--)
    {
        st += myvec[0][i];
    }
    st += 'R';
    myvec.pb(st);
    if(y1 < y2)
        st = "URR";
    else
        st = "DRR";
    for(int i = 0; i < abs(y1-y2)+2; i++)
    {
        if(y1 < y2)
            st += 'D';
        else
            st += 'U';
    }
    if(y1 < y2)
        st += "LLU";
    else
        st += "LLD";
    myvec.pb(st);
}
for(int i = 0; i < myvec.size(); i++)
{
    for(int j = 0; j < myvec[i].size(); j++)
        cout<<myvec[i][j];
}
cout<<endl;

return 0;}


Measured memory_bytes: 384