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

dx = tx-sx

dy = ty-sy

s = ""

s += "L" + "U"*(dy+1) + "R"*(dx+1) + "D"

s += "R" + "D"*(dy+1) + "L"*(dx+1) + "U"

s += "U"*dy + "R"*dx

s += "D"*dy + "L"*dx

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

r = ""

r += "L"+"U"*(ty-sy+1)+"R"*(tx-sx+1)+"D"

r += "R"+"D"*(ty-sy+1)+"L"*(tx-sx+1)+"U"

r += "U"*(ty-sy)+"R"*(tx-sx)

r += "D"*(ty-sy)+"L"*(tx-sx)

print(r)
sx, sy, tx, ty = list(map(int, input().split()))
dx = tx - sx
dy = ty - sy
s = ""
s += "L" + "U" * (dy + 1) + "R" * (dx + 1) + "D"
s += "R" + "D" * (dy + 1) + "L" * (dx + 1) + "U"
s += "U" * dy + "R" * dx
s += "D" * dy + "L" * dx
print(s)

sx, sy, tx, ty = list(map(int, input().split()))
r = ""
r += "L" + "U" * (ty - sy + 1) + "R" * (tx - sx + 1) + "D"
r += "R" + "D" * (ty - sy + 1) + "L" * (tx - sx + 1) + "U"
r += "U" * (ty - sy) + "R" * (tx - sx)
r += "D" * (ty - sy) + "L" * (tx - sx)
print(r)

-dx = tx - sx -dy = ty - sy -s = "" -s += "L" + "U" * (dy + 1) + "R" * (dx + 1) + "D" -s += "R" + "D" * (dy + 1) + "L" * (dx + 1) + "U" -s += "U" * dy + "R" * dx -s += "D" * dy + "L" * dx -print(s) +r = "" +r += "L" + "U" * (ty - sy + 1) + "R" * (tx - sx + 1) + "D" +r += "R" + "D" * (ty - sy + 1) + "L" * (tx - sx + 1) + "U" +r += "U" * (ty - sy) + "R" * (tx - sx) +r += "D" * (ty - sy) + "L" * (tx - sx) +print(r)