#!/usr/bin/env python3

sx, sy, tx, ty = map(int, input().split())

x = tx - sx

y = ty - sy

h = abs(sx - tx)

v = abs(sy - ty)

ans = [[1, 0]] * h + [[0, 1]] * v + [[-1, 0]] * h + [[0, -1]] * v

ans += [[0, -1]] + [[1, 0]] * -~h + [[0, 1]] * -~v + [[-1, 0]]

ans += [[0, 1]] + [[-1, 0]] * -~h + [[0, -1]] * -~v + [[1, 0]]

for i in ans:

    if i == [1, 0]:

        print("R", end="")

    elif i == [-1, 0]:

        print("L", end="")

    elif i == [0, 1]:

        print("U", end="")

    else:

        print("D", end="")

print("")

sx, sy, tx, ty = list(map(int, input().split()))

x = tx - sx

y = ty - sy

ans = ("R" * x + "U" * y + "L" * x + "D" * y + "D" + "R" * -~x + "U" * -~y +

       "L" + "U" + "L" * -~x + "D" * -~y + "R")

print(ans)

#!/usr/bin/env python3
sx, sy, tx, ty = map(int, input().split())
x = tx - sx
y = ty - sy
h = abs(sx - tx)
v = abs(sy - ty)
ans = [[1, 0]] * h + [[0, 1]] * v + [[-1, 0]] * h + [[0, -1]] * v
ans += [[0, -1]] + [[1, 0]] * -~h + [[0, 1]] * -~v + [[-1, 0]]
ans += [[0, 1]] + [[-1, 0]] * -~h + [[0, -1]] * -~v + [[1, 0]]
for i in ans:
    if i == [1, 0]:
        print("R", end="")
    elif i == [-1, 0]:
        print("L", end="")
    elif i == [0, 1]:
        print("U", end="")
    else:
        print("D", end="")
print("")

sx, sy, tx, ty = list(map(int, input().split()))
x = tx - sx
y = ty - sy
ans = (
    "R" * x
    + "U" * y
    + "L" * x
    + "D" * y
    + "D"
    + "R" * -~x
    + "U" * -~y
    + "L"
    + "U"
    + "L" * -~x
    + "D" * -~y
    + "R"
)
print(ans)

-#!/usr/bin/env python3 -sx, sy, tx, ty = map(int, input().split()) +sx, sy, tx, ty = list(map(int, input().split())) -h = abs(sx - tx) -v = abs(sy - ty) -ans = [[1, 0]] * h + [[0, 1]] * v + [[-1, 0]] * h + [[0, -1]] * v -ans += [[0, -1]] + [[1, 0]] * -~h + [[0, 1]] * -~v + [[-1, 0]] -ans += [[0, 1]] + [[-1, 0]] * -~h + [[0, -1]] * -~v + [[1, 0]] -for i in ans: -    if i == [1, 0]: -        print("R", end="") -    elif i == [-1, 0]: -        print("L", end="") -    elif i == [0, 1]: -        print("U", end="") -    else: -        print("D", end="") -print("") +ans = ( +    "R" * x +    + "U" * y +    + "L" * x +    + "D" * y +    + "D" +    + "R" * -~x +    + "U" * -~y +    + "L" +    + "U" +    + "L" * -~x +    + "D" * -~y +    + "R" +) +print(ans)