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

d=tx-sx

h=ty-sy

s='U'*h+'R'*d+'D'*h+'L'*(1+d)+'U'*(1+h)+'R'*(1+d)+'D'+'R'+'D'*(h+1)+'L'*(d+1)+'U'

print(s)

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

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

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

-d = tx - sx -h = ty - sy -s = ( -    "U" * h -    + "R" * d -    + "D" * h -    + "L" * (1 + d) -    + "U" * (1 + h) -    + "R" * (1 + d) -    + "D" -    + "R" -    + "D" * (h + 1) -    + "L" * (d + 1) -    + "U" +print( +    ( +        "U" * (ty - sy) +        + "R" * (tx - sx) +        + "D" * (ty - sy) +        + "L" * (tx - sx + 1) +        + "U" * (ty - sy + 1) +        + "R" * (tx - sx + 1) +        + "D" +        + "R" +        + "D" * (ty - sy + 1) +        + "L" * (tx - sx + 1) +        + "U" +    ) -print(s)