#include <stdio.h>
#include <string.h>
#include <algorithm>
#include <iostream>
#include <string>
#include <vector>
#include <functional>
#include <map>
#include <iomanip>
#include <math.h> 
#include <stack>
#include <queue>
#include <bitset>
#include <cstdlib>
#include <tuple>
#include <cctype>
#include <ctype.h>
#include <set>
#include <sstream>
#include <time.h>
#include <numeric>
using namespace std;
//#define int long long
#define rep(i,s,n) for(int i = s;i<n;i++)
#define repe(i,s,n) for(int i = s;i<=n;i++)
#define rrep(i,s,n) for(int i = (n)-1;i>=(s);i--)
#define all(v) (v).begin(),(v).end()
#define pb push_back
#define fi first
#define se second
#define chmin(a,b) a=min((a),(b))
#define chmax(a,b) a=max((a),(b))
#define l1 list[index]
#define l2 list[index - 1]
#define l3 list[index + 1]
#define iif(i,j) ((i<0 && j<0) || (i>0 && j>0)) ? true : false 
typedef long long ll;
typedef pair<int, int>pint;
typedef vector<int>vint;
typedef vector<pint>vpint;
typedef pair<pint, int> P1;
typedef pair<int, pint> P2;
typedef pair<pint, pint> PP;
static const ll maxLL = (ll)1 << 62;
const ll MOD = 1000000007;
const ll INF = 1e18;
const double PI = 3.14159265359;
int ca[12] = { 31,28,31,30,31,30,31,31,30,31,30,31 };

int sx, sy, tx, ty;
//vector<vector<bool>>matFlag(3000, vector<bool>(3000, false));
vector<vector<int>>matFlag(3000, vector<int>(3000, 0));
//vector<string>reki;
vector<vector<char>>reki;
bool funcFlag = false;
char c[5] = { 'a','U','R','D','L' };
int kaime;

struct MyStruct
{
	//vector<string>clist;
	vector<char>clist;
};

void show() {
	for (int i = 1490; i < 1510; i++) {
		for (int j = 1490; j < 1510; j++) {
			if (i == sy && j == sx) {
				cout << "S"; continue;
			}
			if (i == ty && j == tx) {
				cout << "G"; continue;
			}

			if (matFlag[i][j] != 0) {
				//cout << "〇";
				cout << matFlag[i][j];
			}
			else {
				cout << "0";
			}

		
		}
		cout << endl;
	}
	cout << endl;
}

int func(int y, int x, int gy, int gx, MyStruct st, int hou) { // hou = １は上　２は右、３は下、４は左

	if (funcFlag == true) return 0;

	if (y == gy && x == gx) {
		funcFlag = true;
		st.clist.push_back({ c[hou] });
		reki.push_back(st.clist);
		
		//cout << c[hou] << endl;	cout << "goal" << endl;
		//show();
		return 0;
	}

	if (matFlag[y][x] != 0) return 3;

	matFlag[y][x] = kaime;
	if (hou != 0) st.clist.push_back({ c[hou] });

	//cout << c[hou];
	//if (kaime == 4)show();

	if (y < gy && hou != 3) {
		if (func(y + 1, x, gy, gx, st, 1) == 3) {
			if (func(y , x + 1, gy, gx, st, 2) == 3) {
				if (func(y , x - 1, gy, gx, st, 4) == 3) {
					if (func(y - 1, x, gy, gx, st, 3) == 3) {

						return 0;
					}
				}
			}
		}
	}
	if (y > gy && hou != 1) {
		if (func(y - 1, x, gy, gx, st, 3) == 3) {
			if (func(y, x + 1, gy, gx, st, 2) == 3) {
				if (func(y, x - 1, gy, gx, st, 4) == 3) {
					if (func(y + 1, x, gy, gx, st, 1) == 3) {
						return 0;
					}
				}
			}
		}
	}
	if (x < gx && hou != 4) {
		if (func(y, x + 1, gy, gx, st, 2) == 3) {
			if (func(y + 1, x , gy, gx, st, 1) == 3) {
				if (func(y - 1, x , gy, gx, st, 3) == 3) {
					if (func(y, x - 1, gy, gx, st, 4) == 3) {
						return 0;
					}
				}
			}
		}
	}
	if (x > gx && hou != 2) {
		if (func(y, x - 1, gy, gx, st, 4) == 3) {
			if (func(y + 1, x, gy, gx, st, 1) == 3) {
				if (func(y - 1, x, gy, gx, st, 3) == 3) {
					if (func(y, x + 1, gy, gx, st, 2) == 3) {
						return 0;
					}
				}
			}
		}
	}




	return 0;
}



signed main() {
	MyStruct st;

	cin >> sx >> sy >> tx >> ty;

	sx += 1500; sy += 1500; tx += 1500; ty += 1500;

	kaime = 1;
	func(sy, sx, ty, tx, st, 0);
	funcFlag = false;
	matFlag[sy][sx] = false;
	matFlag[ty][tx] = false;
	
	kaime = 2;
	func(ty, tx, sy, sx, st, 0);
	funcFlag = false;
	matFlag[sy][sx] = false;
	matFlag[ty][tx] = false;

	kaime = 3;
	func(sy, sx, ty, tx, st, 0);
	funcFlag = false;
	matFlag[sy][sx] = false;
	matFlag[ty][tx] = false;

	kaime = 4;
	func(ty, tx, sy, sx, st, 0);
	funcFlag = false;
	matFlag[sy][sx] = false;
	matFlag[ty][tx] = false;

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


	return 0;
}

Measured memory_bytes: 52224