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



dx=tx-sx

dy=ty-sy



root=""

for i in range(dy):

    root=root+"U"

for i in range(dx):

    root=root+"R"

for i in range(dy):

    root=root+"D"

for i in range(dx):

    root=root+"L"

    

root=root+"L"

for i in range(dy+1):

    root=root+"U"

for i in range(dx+1):

    root=root+"R"

root=root+"D"



root=root+"R"

for i in range(dy+1):

    root=root+"D"

for i in range(dx+1):

    root=root+"L"

root=root+"U"



print(root) 

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



dx=tx-sx

dy=ty-sy

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

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

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

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



print(r)
sx, sy, tx, ty = list(map(int, input().split()))
dx = tx - sx
dy = ty - sy
root = ""
for i in range(dy):
    root = root + "U"
for i in range(dx):
    root = root + "R"
for i in range(dy):
    root = root + "D"
for i in range(dx):
    root = root + "L"
root = root + "L"
for i in range(dy + 1):
    root = root + "U"
for i in range(dx + 1):
    root = root + "R"
root = root + "D"
root = root + "R"
for i in range(dy + 1):
    root = root + "D"
for i in range(dx + 1):
    root = root + "L"
root = root + "U"
print(root)

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

-root = "" -for i in range(dy): -    root = root + "U" -for i in range(dx): -    root = root + "R" -for i in range(dy): -    root = root + "D" -for i in range(dx): -    root = root + "L" -root = root + "L" -for i in range(dy + 1): -    root = root + "U" -for i in range(dx + 1): -    root = root + "R" -root = root + "D" -root = root + "R" -for i in range(dy + 1): -    root = root + "D" -for i in range(dx + 1): -    root = root + "L" -root = root + "U" -print(root) +r = "U" * dy + "R" * dx +r = r + "D" * dy + "L" * dx +r = r + "L" + "U" * (dy + 1) + "R" * (dx + 1) + "D" +r = r + "R" + "D" * (dy + 1) + "L" * (dx + 1) + "U" +print(r)