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

tx -= sx

ty -= sy

sx = 0

sy = 0

line = []

for i in range(tx):

    line.append("R")

for i in range(ty):

    line.append("U")

for i in range(tx):

    line.append("L")

for i in range(ty):

    line.append("D")

line.append("D")

for i in range(tx+1):

    line.append("R")

for i in range(ty+1):

    line.append("U")

line.append("L")

line.append("U")

for i in range(tx+1):

    line.append("L")

for i in range(ty+1):

    line.append("D")

line.append("R")

for i in range(len(line)):

    if i<len(line):

        print(line[i], end = "")

    else:

        print(line[i])

sx,sy,tx,ty = list([int(x) for x in input().split(" ")])

route = ""



route += "U" * (ty-sy)

route += "R" * (tx-sx)

route += "D" * (ty-sy)

route += "L" * (tx-sx)

route += "L"

route += "U" * (ty-sy+1)

route += "R" * (tx-sx+1)

route += "D"

route += "R"

route += "D" * (ty-sy+1)

route += "L" * (tx-sx+1)

route += "U"



print(route)
sx, sy, tx, ty = map(int, input().split(" "))
tx -= sx
ty -= sy
sx = 0
sy = 0
line = []
for i in range(tx):
    line.append("R")
for i in range(ty):
    line.append("U")
for i in range(tx):
    line.append("L")
for i in range(ty):
    line.append("D")
line.append("D")
for i in range(tx + 1):
    line.append("R")
for i in range(ty + 1):
    line.append("U")
line.append("L")
line.append("U")
for i in range(tx + 1):
    line.append("L")
for i in range(ty + 1):
    line.append("D")
line.append("R")
for i in range(len(line)):
    if i < len(line):
        print(line[i], end="")
    else:
        print(line[i])

sx, sy, tx, ty = list([int(x) for x in input().split(" ")])
route = ""
route += "U" * (ty - sy)
route += "R" * (tx - sx)
route += "D" * (ty - sy)
route += "L" * (tx - sx)
route += "L"
route += "U" * (ty - sy + 1)
route += "R" * (tx - sx + 1)
route += "D"
route += "R"
route += "D" * (ty - sy + 1)
route += "L" * (tx - sx + 1)
route += "U"
print(route)

-sx, sy, tx, ty = map(int, input().split(" ")) -tx -= sx -ty -= sy -sx = 0 -sy = 0 -line = [] -for i in range(tx): -    line.append("R") -for i in range(ty): -    line.append("U") -for i in range(tx): -    line.append("L") -for i in range(ty): -    line.append("D") -line.append("D") -for i in range(tx + 1): -    line.append("R") -for i in range(ty + 1): -    line.append("U") -line.append("L") -line.append("U") -for i in range(tx + 1): -    line.append("L") -for i in range(ty + 1): -    line.append("D") -line.append("R") -for i in range(len(line)): -    if i < len(line): -        print(line[i], end="") -    else: -        print(line[i]) +sx, sy, tx, ty = list([int(x) for x in input().split(" ")]) +route = "" +route += "U" * (ty - sy) +route += "R" * (tx - sx) +route += "D" * (ty - sy) +route += "L" * (tx - sx) +route += "L" +route += "U" * (ty - sy + 1) +route += "R" * (tx - sx + 1) +route += "D" +route += "R" +route += "D" * (ty - sy + 1) +route += "L" * (tx - sx + 1) +route += "U" +print(route)