SX,SY,TX,TY=list(map(int,input().split()))

x=TX-SX

y=TY-SY

print((''.join(['U'*y,'R'*x,'D'*y,'L'*x,'L','U'*(y+1),'R'*(x+1),'D','R','D'*(y+1),'L'*(x+1),'U'])))
p,q,r,s=list(map(int,input().split()))

x=r-p

y=s-q

print(('U'*y+'R'*x+'D'*y+'L'*x+'L'+'U'*(y+1)+'R'*(x+1)+'D'+'R'+'D'*(y+1)+'L'*(x+1)+'U'))
SX, SY, TX, TY = list(map(int, input().split()))
x = TX - SX
y = TY - SY
print(
    (
        "".join(
            [
                "U" * y,
                "R" * x,
                "D" * y,
                "L" * x,
                "L",
                "U" * (y + 1),
                "R" * (x + 1),
                "D",
                "R",
                "D" * (y + 1),
                "L" * (x + 1),
                "U",
            ]
        )
    )
)

p, q, r, s = list(map(int, input().split()))
x = r - p
y = s - q
print(
    (
        "U" * y
        + "R" * x
        + "D" * y
        + "L" * x
        + "L"
        + "U" * (y + 1)
        + "R" * (x + 1)
        + "D"
        + "R"
        + "D" * (y + 1)
        + "L" * (x + 1)
        + "U"
    )
)

-SX, SY, TX, TY = list(map(int, input().split())) -x = TX - SX -y = TY - SY +p, q, r, s = list(map(int, input().split())) +x = r - p +y = s - q -        "".join( -            [ -                "U" * y, -                "R" * x, -                "D" * y, -                "L" * x, -                "L", -                "U" * (y + 1), -                "R" * (x + 1), -                "D", -                "R", -                "D" * (y + 1), -                "L" * (x + 1), -                "U", -            ] -        ) +        "U" * y +        + "R" * x +        + "D" * y +        + "L" * x +        + "L" +        + "U" * (y + 1) +        + "R" * (x + 1) +        + "D" +        + "R" +        + "D" * (y + 1) +        + "L" * (x + 1) +        + "U"