#include <bits/stdc++.h>
using namespace std;
bool a[1005][1005];
int dis[1005][1005];
int r[1000005];
int sx, sy, vx, vy;
int dl, dr, du, dd;
int vl, vr, vu, vd;
bool Bfs() {
  int i = 0, top = 1, x, y;
  memset(dis, 0, sizeof(dis));
  dis[vx][vy] = 1;
  r[1] = (vx << 10) + vy;
  while (i++ < top) {
    x = r[i] >> 10, y = r[i] & 1023;
    if (x < 1000 && !dis[x + 1][y] && !a[x + 1][y])
      r[++top] = r[i] + 1024, dis[x + 1][y] = dis[x][y] + 1;
    if (x && !dis[x - 1][y] && !a[x - 1][y])
      r[++top] = r[i] - 1024, dis[x - 1][y] = dis[x][y] + 1;
    if (y < 1000 && !dis[x][y + 1] && !a[x][y + 1])
      r[++top] = r[i] + 1, dis[x][y + 1] = dis[x][y] + 1;
    if (y && !dis[x][y - 1] && !a[x][y - 1])
      r[++top] = r[i] - 1, dis[x][y - 1] = dis[x][y] + 1;
    if (dis[sx][sy]) return 1;
  }
  return 0;
}
bool inside(int x, int y) { return x <= dr && x >= dl && y <= du && y >= dd; }
void PL(int x) {
  while (!inside(vx - 1, vy) && !inside(sx - 1, sy) &&
         (x >= 0 ? vx > x : vx >= dl || sx >= dl))
    putchar('L'), vx--, sx--;
}
void PR(int x) {
  while (!inside(vx + 1, vy) && !inside(sx + 1, sy) &&
         (x >= 0 ? vx < x : vx <= dr || sx <= dr))
    putchar('R'), vx++, sx++;
}
void PD(int x) {
  while (!inside(vx, vy - 1) && !inside(sx, sy - 1) &&
         (x >= 0 ? vy > x : vy >= dd || sy >= dd))
    putchar('D'), vy--, sy--;
}
void PU(int x) {
  while (!inside(vx, vy + 1) && !inside(sx, sy + 1) &&
         (x >= 0 ? vy < x : vy <= du || sy <= du))
    putchar('U'), vy++, sy++;
}
int main() {
  int x, y, n, i;
  scanf("%d%d%d%d%d", &sx, &sy, &vx, &vy, &n);
  sx += 500, sy += 500, vx += 500, vy += 500;
  if (sx == vx && sy == vy) return 0;
  if (!n) return puts("-1");
  scanf("%d%d", &dl, &du);
  dl += 500, du += 500;
  a[dl][du] = 1;
  dr = vd = vu = dl;
  dd = vr = vl = du;
  for (i = 2; i <= n; i++) {
    scanf("%d%d", &x, &y);
    x += 500, y += 500;
    a[x][y] = 1;
    if (x < dl) dl = x, vl = y;
    if (x > dr) dr = x, vr = y;
    if (y < dd) dd = y, vd = x;
    if (y > du) du = y, vu = x;
  }
  for (; (sx != vx || sy != vy) && (inside(sx, sy) || inside(vx, vy));) {
    if (!Bfs()) return puts("-1"), 0;
    while (dis[sx][sy] > 1) {
      if (dis[sx - 1][sy] + 1 == dis[sx][sy]) {
        sx--, putchar('L');
        vx -= !a[vx - 1][vy];
        continue;
      }
      if (dis[sx + 1][sy] + 1 == dis[sx][sy]) {
        sx++, putchar('R');
        vx += !a[vx + 1][vy];
        continue;
      }
      if (dis[sx][sy + 1] + 1 == dis[sx][sy]) {
        sy++, putchar('U');
        vy += !a[vx][vy + 1];
        continue;
      }
      if (dis[sx][sy - 1] + 1 == dis[sx][sy]) {
        sy--, putchar('D');
        vy -= !a[vx][vy - 1];
        continue;
      }
    }
  }
  if (vx == sx && vy == sy) return 0;
  PR(-1);
  PU(-1);
  PL(-1);
  PU(-1);
  PR(vu);
  while (sy > vy) sy--, putchar('D');
  if (vx == sx && vy == sy) return 0;
  PR(-1);
  PD(vr);
  while (sx > vx) sx--, putchar('L');
  if (vx == sx && vy == sy) return 0;
  PD(-1);
  PL(vd);
  while (sy < vy) sy++, putchar('U');
  if (vx == sx && vy == sy) return 0;
  PL(-1);
  PU(vl);
  while (sx < vx) sx++, putchar('R');
}
