object Main extends App {
  val Array(sx, sy, tx, ty) = scala.io.StdIn.readLine.split(' ').map(_.toInt)

  val path1 = "U" * (ty - sy) + "R" * (tx - sx)
  val path2 = "R" * (tx - sx) + "U" * (ty - sy)
  val path3 = "D" + "R" * (tx - sx + 1) + "U" * (ty - sy + 1) + "L"
  val path4 = "L" + "U" * (ty - sy + 1) + "R" * (tx - sx + 1) + "D"

  println(Array(path1, path2, path3, path4).mkString)
}
