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



def path(x, y, gx, gy):

  u = gy - y

  if u > 0:

    for i in range(u):

      print('U', end='')

  elif u < 0:

    for i in range(-u):

      print('D', end='')

  r = gx - x

  if r > 0:

    for i in range(r):

      print('R', end='')

  elif r < 0:

    for i in range(-r):

      print('L', end='')



path(sx,sy,tx,ty)

path(tx,ty,sx,sy)

print('L', end='')

path(sx-1,sy,tx,ty+1)

print('D', end='')

print('R', end='')

path(tx+1,ty,sx,sy-1)

print('U')

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



def path(sx, sy, tx, ty):

  res = ''

  y = ty - sy

  res += abs(y) * ('U' if y > 0 else 'D')

  x = tx - sx

  res += abs(x) * ('R' if x > 0 else 'L')

  return res



ans = ''

ans += path(sx, sy ,tx ,ty)

ans += path(tx, ty, sx, sy)

ans += 'L'

ans += path(sx - 1, sy, tx, ty + 1)

ans += 'DR'

ans += path(tx + 1, ty, sx, sy - 1)

ans += 'U'

print(ans)

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


def path(x, y, gx, gy):
    u = gy - y
    if u > 0:
        for i in range(u):
            print("U", end="")
    elif u < 0:
        for i in range(-u):
            print("D", end="")
    r = gx - x
    if r > 0:
        for i in range(r):
            print("R", end="")
    elif r < 0:
        for i in range(-r):
            print("L", end="")


path(sx, sy, tx, ty)
path(tx, ty, sx, sy)
print("L", end="")
path(sx - 1, sy, tx, ty + 1)
print("D", end="")
print("R", end="")
path(tx + 1, ty, sx, sy - 1)
print("U")

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


def path(sx, sy, tx, ty):
    res = ""
    y = ty - sy
    res += abs(y) * ("U" if y > 0 else "D")
    x = tx - sx
    res += abs(x) * ("R" if x > 0 else "L")
    return res


ans = ""
ans += path(sx, sy, tx, ty)
ans += path(tx, ty, sx, sy)
ans += "L"
ans += path(sx - 1, sy, tx, ty + 1)
ans += "DR"
ans += path(tx + 1, ty, sx, sy - 1)
ans += "U"
print(ans)

-sx, sy, tx, ty = map(int, input().split()) +sx, sy, tx, ty = list(map(int, input().split())) -def path(x, y, gx, gy): -    u = gy - y -    if u > 0: -        for i in range(u): -            print("U", end="") -    elif u < 0: -        for i in range(-u): -            print("D", end="") -    r = gx - x -    if r > 0: -        for i in range(r): -            print("R", end="") -    elif r < 0: -        for i in range(-r): -            print("L", end="") +def path(sx, sy, tx, ty): +    res = "" +    y = ty - sy +    res += abs(y) * ("U" if y > 0 else "D") +    x = tx - sx +    res += abs(x) * ("R" if x > 0 else "L") +    return res -path(sx, sy, tx, ty) -path(tx, ty, sx, sy) -print("L", end="") -path(sx - 1, sy, tx, ty + 1) -print("D", end="") -print("R", end="") -path(tx + 1, ty, sx, sy - 1) -print("U") +ans = "" +ans += path(sx, sy, tx, ty) +ans += path(tx, ty, sx, sy) +ans += "L" +ans += path(sx - 1, sy, tx, ty + 1) +ans += "DR" +ans += path(tx + 1, ty, sx, sy - 1) +ans += "U" +print(ans)