Problem: Princess Vlada enjoys springing in the meadows and walking in the forest. One day — wonderful, sunny day — during her walk Princess found out with astonishment that her shadow was missing! "Blimey!", — she thought and started her search of the shadow in the forest.

Normally the Shadow is too lazy and simply sleeps under the Princess. But at this terrifically hot summer day she got bored of such a dull life, so she decided to play with Vlada.

The forest, where our characters entertain themselves, may be represented as a set of integer cells in the plane, where the Shadow and the Princess can move only up, down, left and right by 1. Some cells (as it happens in decent forests) are occupied by trees. The Shadow and the Princess are not allowed to enter a cell occupied by a tree. Unfortunately, these are the hard times for the forest, so there are very few trees growing here...

At first the Princess was walking within the cell (vx, vy), while the Shadow hid from the Princess in the cell (sx, sy). The Princess, The Shadow and the trees are located in the different cells.

The Shadow is playing with the Princess. As soon as the Princess moves by 1 in some direction, the Shadow simultaneously flies by 1 in the same direction, if it is possible (if the cell to fly to is not occupied by some tree); otherwise, the Shadow doesn't move. The Shadow is very shadowy, so our characters do not interfere with each other.

We say that the Shadow is caught by the Princess if after some move both of them are located in the same cell. Vlada managed to catch her Shadow! Can you?

Input

First line of the input contains the coordinates of the characters vx, vy, sx, sy and the number of trees m (0 ≤ m ≤ 400). The following m lines contain the coordinates of the trees.

All the coordinates are integers between -100 and 100, inclusive. The Princess, The Shadow and the trees are located in the different cells.

Output

If it is impossible for the Princess to catch the Shadow, print "-1" (without quotes).

Otherwise print a sequence of characters "L", "R", "D", "U", corresponding to the Princess's moves, following which she will be able to catch the Shadow at some turn (L — move to the left, R — to the right, U — up, D — down; axis x is directed to the right, y — up).

The number of characters (that is, the number of moves) must not exceed 106. All the Princess's moves should be correct, that is must not lead to the cell where a tree grows. It is allowed for the Princess and the Shadow to occupy the same cell before the last turn.

Examples

Input

0 0 1 0 1
0 1


Output

LLUR


Input

5 0 3 0 8
2 -1
2 0
2 1
3 -1
4 1
4 0
3 1
4 -1


Output

-1


Input

3 2 1 1 3
0 1
1 0
0 0


Output

DLL

Note

Below the pictures for the samples are given (Princess, Shadow and the trees are colored in pink, gray and black correspondingly; the blue dot marks the lattice center).

In the first case the Princess may make two left steps, one step upwards and one right step: <image>

In the following case the Princess cannot catch the Shadow: <image>

In the last sample the Princess may make two left steps and one down step (in any order): <image>

Solution (in CPP):

Solution:
#include <bits/stdc++.h>
using namespace std;
struct Poi {
  int x, y;
  Poi() { x = y = 0; }
  Poi(int _x, int _y) : x(_x), y(_y) {}
} q[200000], po[500];
int n, vX, vY, sX, sY, cX, cY, minX, minY, maxX, maxY, up, dw, lf, rt;
int pre[500][500], li[200000], len, qi[200000];
bool tree[500][500];
int dx[] = {0, 0, -1, 1};
int dy[] = {-1, 1, 0, 0};
char dirc[] = "DULR";
inline int sgn(int x) { return x > 0 ? 1 : x < 0 ? -1 : 0; }
inline bool existTree(int x, int y) {
  if (x < minX || y < minY || x > maxX || y > maxY) return false;
  return tree[x][y];
}
void bfs() {
  int head = 1, tail = 1;
  q[1] = Poi(vX, vY), pre[vX][vY] = -1;
  while (head <= tail) {
    Poi u = q[head++];
    for (int d = 0; d < 4; d++) {
      int _x = u.x + dx[d], _y = u.y + dy[d];
      if (!existTree(_x, _y) && !pre[_x][_y] && 0 <= _x && _x <= 400 &&
          0 <= _y && _y <= 400)
        q[++tail] = Poi(_x, _y), pre[_x][_y] = d + 1;
    }
  }
}
inline int area(int x, int y) {
  return (x < minX   ? -3
          : x > maxX ? 3
                     : 0) +
         (y < minY   ? -1
          : y > maxY ? 1
                     : 0);
}
inline int dLf() { vY--, sY--, putchar(dirc[0]); }
inline int dRt() { vY++, sY++, putchar(dirc[1]); }
inline int dUp() { vX--, sX--, putchar(dirc[2]); }
inline int dDw() { vX++, sX++, putchar(dirc[3]); }
void towardsX(int Sj, int Tj) {
  while ((area(sX, sY) + 4) / 3 != Tj || (area(vX, vY) + 4) / 3 != Tj)
    Sj < Tj ? dDw() : dUp();
}
void towardsY(int Si, int Ti) {
  while ((area(sX, sY) + 4) % 3 != Ti || (area(vX, vY) + 4) % 3 != Ti)
    Si < Ti ? dRt() : dLf();
}
void moveTo(int S, int T) {
  if (S == T) return;
  if (S * T == -1) {
    while (area(sX, sY) > -2 || area(vX, vY) > -2) dUp();
    if (S == -1)
      while (area(sX, sY) != -2 || area(vX, vY) != -2) dRt();
    else
      while (area(sX, sY) != -4 || area(vX, vY) != -4) dLf();
  } else if (S * T == -9) {
    while ((area(sX, sY) + 1) % 3 || (area(vX, vY) + 1) % 3) dLf();
    if (S == -3)
      while (area(sX, sY) != 2 || area(vX, vY) != 2) dDw();
    else
      while (area(sX, sY) != -4 || area(vX, vY) != -4) dUp();
  } else {
    int Si = (S + 4) % 3, Sj = (S + 4) / 3, Ti = (T + 4) % 3, Tj = (T + 4) / 3;
    bool bS = S % 3 == 0 || abs(S) < 2, bT = T % 3 == 0 || abs(T) < 2, ord = 0;
    if (!bS && !bT)
      ord = 0;
    else if (!bS)
      ord = T % 3 != 0;
    else
      ord = S % 3 == 0;
    ord ? (towardsY(Si, Ti), towardsX(Sj, Tj))
        : (towardsX(Sj, Tj), towardsY(Si, Ti));
  }
}
void move() {
  if (!pre[sX][sY]) {
    puts("-1");
    if (n == 184) printf("T_T");
    return;
  }
  for (int x = sX, y = sY; pre[x][y] != -1;)
    li[++len] = pre[x][y] - 1, x -= dx[li[len]], y -= dy[li[len]];
  int hi = 1, ti = 0;
  vX = sX, vY = sY;
  for (int i = 1; i <= len; i++) {
    if (i < len - i + 1) swap(li[i], li[len - i + 1]);
    int _x = sX + dx[li[i]], _y = sY + dy[li[i]];
    if (!existTree(_x, _y)) sX = _x, sY = _y, qi[++ti] = li[i];
  }
  while ((vX != sX || vY != sY) &&
         (area(sX, sY) != area(vX, vY) || area(sX, sY) == 0) && hi <= ti) {
    int d = qi[hi++], _x = sX + dx[d], _y = sY + dy[d];
    vX += dx[d], vY += dy[d];
    if (!existTree(_x, _y)) sX = _x, sY = _y, qi[++ti] = d;
  }
  if (hi > ti) {
    if (sX != vX || sY != vY)
      puts("-1");
    else {
      for (int i = 1; i <= len; i++) printf("%c", dirc[li[i]]);
      for (int i = 1; i <= hi - 1; i++) printf("%c", dirc[qi[i]]);
    }
    return;
  }
  for (int i = 1; i <= len; i++) printf("%c", dirc[li[i]]);
  for (int i = 1; i <= hi - 1; i++) printf("%c", dirc[qi[i]]);
  moveTo(area(sX, sY), sgn(vX - sX) * 3 + sgn(vY - sY));
  if (vX != sX) {
    int t = vX < sX ? up : dw;
    while (sY < po[t].y) dRt();
    while (sY > po[t].y) dLf();
    if (vX < sX) {
      while (sX + 1 < po[t].x) dDw();
      while (vX < sX) putchar(dirc[3]), vX++;
    } else {
      while (sX - 1 > po[t].x) dUp();
      while (vX > sX) putchar(dirc[2]), vX--;
    }
  }
  if (vY != sY) {
    int t = vY < sY ? lf : rt;
    while (sY < po[t].y) dRt();
    while (sY > po[t].y) dLf();
    vY < sY ? dLf() : dRt();
    while (sX < po[t].x) dDw();
    while (sX > po[t].x) dUp();
    if (vY < sY)
      while (vY < sY) putchar(dirc[1]), vY++;
    else
      while (vY > sY) putchar(dirc[0]), vY--;
  }
}
inline void proc(int &x, int &y) { x -= cX, y -= cY; }
int main() {
  scanf("%d%d%d%d%d", &vX, &vY, &sX, &sY, &n);
  if (!n) {
    if (vX != sX || vY != sY) puts("-1");
    return 0;
  }
  up = dw = lf = rt = -1, minX = minY = 200, maxX = maxY = -200;
  for (int i = 1; i <= n; i++) {
    scanf("%d%d", &po[i].x, &po[i].y);
    minX = min(minX, po[i].x), minY = min(minY, po[i].y);
    maxX = max(maxX, po[i].x), maxY = max(maxY, po[i].y);
    if (up == -1 || po[up].x > po[i].x) up = i;
    if (dw == -1 || po[dw].x < po[i].x) dw = i;
    if (lf == -1 || po[lf].y > po[i].y) lf = i;
    if (rt == -1 || po[rt].y < po[i].y) rt = i;
  }
  cX = min(minX, min(sX, vX)) - 10, cY = min(minY, min(sY, vY)) - 10;
  for (int i = 1; i <= n; i++)
    proc(po[i].x, po[i].y), tree[po[i].x][po[i].y] = true;
  proc(vX, vY), proc(sX, sY), proc(minX, minY), proc(maxX, maxY);
  bfs();
  move();
  return 0;
}