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;
bool fl[2010][2010];
int m;
int x[2010], y[2010];
int xmin, xmax, ymin, ymax;
int l, t, r, b;
int px[2010][2010], py[2010][2010], dis[2010][2010];
char ds[] = "RDLU";
int dx[] = {1, 0, -1, 0};
int dy[] = {0, -1, 0, 1};
int res[1000001];
int tx, ty, ttx, tty, len = 0;
int dir[1000001];
int sx, sy, ex, ey;
int Sx, Sy, Ex, Ey;
int vis[2010][2010], T = 0;
void bfs(int sx, int sy, int ex, int ey) {
  T++;
  int x, y, i, xx, yy;
  vis[sx][sy] = T;
  queue<int> q;
  dis[sx][sy] = 0;
  q.push(sx), q.push(sy);
  while (!q.empty()) {
    x = q.front(), q.pop();
    y = q.front(), q.pop();
    if (x == ex && y == ey) return;
    for (i = 0; i < 4; i++) {
      xx = x + dx[i], yy = y + dy[i];
      if (xx < 300 || xx >= 800 || yy < 300 || yy >= 800) continue;
      if (vis[xx][yy] == T || fl[xx][yy]) continue;
      vis[xx][yy] = T;
      dis[xx][yy] = dis[x][y] + 1;
      px[xx][yy] = x;
      py[xx][yy] = y;
      q.push(xx), q.push(yy);
    }
  }
}
int main() {
  int i, j, n;
  scanf("%d %d %d %d %d", &sx, &sy, &ex, &ey, &m);
  xmin = ymin = 2010;
  xmax = ymax = 0;
  sx += 500, sy += 500;
  ex += 500, ey += 500;
  Sx = sx, Sy = sy;
  Ex = ex, Ey = ey;
  for (i = 0; i < 2010; i++)
    for (j = 0; j < 2010; j++) dis[i][j] = -1;
  for (i = 0; i < m; i++) {
    scanf("%d %d", x + i, y + i);
    x[i] += 500;
    y[i] += 500;
    fl[x[i]][y[i]] = 1;
    if (xmin > x[i]) xmin = x[i], l = i;
    if (xmax < x[i]) xmax = x[i], r = i;
    if (ymin > y[i]) ymin = y[i], b = i;
    if (ymax < y[i]) ymax = y[i], t = i;
  }
  if (!m) {
    puts("-1");
    return 0;
  }
  bfs(sx, sy, ex, ey);
  if (dis[ex][ey] == -1) {
    puts("-1");
    return 0;
  }
  bfs(sx, sy, 601, 601);
  n = dis[601][601];
  if (n == -1) {
    while (1) {
      bfs(sx, sy, ex, ey);
      n = dis[ex][ey];
      tx = ex, ty = ey;
      for (i = 0; i < n; i++) {
        for (j = 0; j < 4; j++) {
          if (tx == px[tx][ty] + dx[j] && ty == py[tx][ty] + dy[j]) break;
        }
        dir[n - 1 - i] = j;
        ttx = px[tx][ty];
        tty = py[tx][ty];
        tx = ttx;
        ty = tty;
      }
      sx = ex, sy = ey;
      for (i = 0; i < n; i++) {
        res[len++] = dir[i];
        if (fl[ex + dx[dir[i]]][ey + dy[dir[i]]]) continue;
        ex += dx[dir[i]];
        ey += dy[dir[i]];
      }
      if (sx == ex && ey == sy) break;
    }
  } else {
    tx = 601, ty = 601;
    for (i = 0; i < n; i++) {
      for (j = 0; j < 4; j++) {
        if (tx == px[tx][ty] + dx[j] && ty == py[tx][ty] + dy[j]) break;
      }
      dir[n - 1 - i] = j;
      ttx = px[tx][ty];
      tty = py[tx][ty];
      tx = ttx;
      ty = tty;
    }
    sx = 701, sy = 701;
    for (i = 0; i < n; i++) {
      res[len++] = dir[i];
      if (fl[ex + dx[dir[i]]][ey + dy[dir[i]]]) continue;
      ex += dx[dir[i]];
      ey += dy[dir[i]];
    }
    for (i = 0; i < 100; i++) {
      res[len++] = 0;
      if (fl[ex + 1][ey]) continue;
      ex++;
    }
    for (i = 0; i < 100; i++) {
      res[len++] = 3;
      if (fl[ex][ey + 1]) continue;
      ey++;
    }
    if (ex >= xmin && ex <= xmax && ey >= ymin && ey <= ymax) {
      bfs(ex, ey, 601, 601);
      n = dis[601][601];
      tx = 601, ty = 601;
      for (i = 0; i < n; i++) {
        for (j = 0; j < 4; j++) {
          if (tx == px[tx][ty] + dx[j] && ty == py[tx][ty] + dy[j]) break;
        }
        dir[n - 1 - i] = j;
        ttx = px[tx][ty];
        tty = py[tx][ty];
        tx = ttx;
        ty = tty;
      }
      ex = 601, ey = 601;
      for (i = 0; i < n; i++) {
        res[len++] = dir[i];
        if (fl[sx + dx[dir[i]]][sy + dy[dir[i]]]) continue;
        sx += dx[dir[i]];
        sy += dy[dir[i]];
      }
    }
    while (1) {
      if (ex > 600 && ey > 600) break;
      if ((ex < xmin || ex > xmax) && ey < 601) {
        for (i = ey; i < 601; i++) {
          res[len++] = 3;
          if (fl[sx][sy + 1]) continue;
          sy++;
        }
        ey = 601;
      }
      if ((ey < ymin || ey > ymax) && ex < 601) {
        for (i = ex; i < 601; i++) {
          res[len++] = 0;
          if (fl[sx + 1][sy]) continue;
          sx++;
        }
        ex = 601;
      }
    }
    if (sx < ex) {
      tx = x[l] - 1, ty = y[l];
      for (i = ex; i > tx; i--) res[len++] = 2;
      for (i = ey; i > ty; i--) res[len++] = 1;
      sx += tx - ex, sy += ty - ey;
      ex = tx, ey = ty;
      for (i = sx; i < ex; i++) res[len++] = 0;
      sx = ex;
      if (sy < ey) {
        tx = x[b], ty = y[b] - 1;
        for (i = ey; i > ty; i--) res[len++] = 1;
        for (i = ex; i < tx; i++) res[len++] = 0;
        for (i = sy; i < ey; i++) res[len++] = 3;
      } else if (sy > ey) {
        tx = x[t], ty = y[t] + 1;
        for (i = ey; i < ty; i++) res[len++] = 3;
        for (i = ex; i < tx; i++) res[len++] = 0;
        for (i = ey; i < sy; i++) res[len++] = 1;
      }
    } else {
      tx = x[r] + 1, ty = y[r];
      for (i = ex; i > tx; i--) res[len++] = 2;
      for (i = ey; i > ty; i--) res[len++] = 1;
      sx += tx - ex, sy += ty - ey;
      ex = tx, ey = ty;
      for (i = sx; i > ex; i--) res[len++] = 2;
      sx = ex;
      if (sy < ey) {
        tx = x[b], ty = y[b] - 1;
        for (i = ey; i > ty; i--) res[len++] = 1;
        for (i = ex; i > tx; i--) res[len++] = 2;
        for (i = sy; i < ey; i++) res[len++] = 3;
      } else if (sy > ey) {
        tx = x[t], ty = y[t] + 1;
        for (i = ey; i < ty; i++) res[len++] = 3;
        for (i = ex; i > tx; i--) res[len++] = 2;
        for (i = ey; i < sy; i++) res[len++] = 1;
      }
    }
  }
  for (i = 0; i < len; i++) {
    if (fl[Sx + dx[res[i]]][Sy + dy[res[i]]]) continue;
    printf("%c", ds[res[i]]);
    Sx += dx[res[i]];
    Sy += dy[res[i]];
    if (!fl[Ex + dx[res[i]]][Ey + dy[res[i]]]) {
      Ex += dx[res[i]];
      Ey += dy[res[i]];
    }
    if (Sx == Ex && Sy == Ey) break;
  }
  puts("");
  return 0;
}