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;
const int MaxM = 400;
const int L = 100;
const int ML = L + 1 + L * 2 + 2;
const int ND = 4;
const int DX[] = {-1, 0, 0, 1};
const int DY[] = {0, -1, 1, 0};
int main() {
  int vx, vy, sx, sy;
  cin >> vx >> vy >> sx >> sy;
  int m;
  static pair<int, int> obs[MaxM];
  static bool a[ML + 1 + ML][ML + 1 + ML];
  cin >> m;
  for (int i = 0; i < m; i++) {
    int x, y;
    scanf("%d %d", &x, &y);
    a[ML + x][ML + y] = true;
    obs[i] = make_pair(x, y);
  }
  if (m == 0) {
    printf("-1\n");
    return 0;
  }
  queue<int> curQ;
  while (make_pair(vx, vy) != make_pair(sx, sy)) {
    if (vx == -L - 2) {
      while (!curQ.empty()) curQ.pop();
      int p = 0;
      for (int i = 1; i < m; i++)
        if (obs[i].first > obs[p].first) p = i;
      while (vy != ML) putchar('U'), vy++, sy++;
      while (sx != obs[p].first + 1) putchar('R'), vx++, sx++;
      while (sy != obs[p].second) putchar('D'), vy--, sy--;
      while (vx != sx) putchar('L'), vx--;
      while (vy < -L - 1) putchar('U'), vy++, sy++;
      while (vy > L + 1) putchar('D'), vy--, sy--;
    } else if (vx == L + 2) {
      while (!curQ.empty()) curQ.pop();
      int p = 0;
      for (int i = 1; i < m; i++)
        if (obs[i].first < obs[p].first) p = i;
      while (vy != ML) putchar('U'), vy++, sy++;
      while (sx != obs[p].first - 1) putchar('L'), vx--, sx--;
      while (sy != obs[p].second) putchar('D'), vy--, sy--;
      while (vx != sx) putchar('R'), vx++;
      while (vy < -L - 1) putchar('U'), vy++, sy++;
      while (vy > L + 1) putchar('D'), vy--, sy--;
    } else if (vy == -L - 2) {
      while (!curQ.empty()) curQ.pop();
      int p = 0;
      for (int i = 1; i < m; i++)
        if (obs[i].second > obs[p].second) p = i;
      while (vx != ML) putchar('R'), vx++, sx++;
      while (sy != obs[p].second + 1) putchar('U'), vy++, sy++;
      while (sx != obs[p].first) putchar('L'), vx--, sx--;
      while (vy != sy) putchar('D'), vy--;
      while (vx < -L - 1) putchar('R'), vx++, sx++;
      while (vx > L + 1) putchar('L'), vx--, sx--;
    } else if (vy == L + 2) {
      while (!curQ.empty()) curQ.pop();
      int p = 0;
      for (int i = 1; i < m; i++)
        if (obs[i].second < obs[p].second) p = i;
      while (vx != ML) putchar('R'), vx++, sx++;
      while (sy != obs[p].second - 1) putchar('D'), vy--, sy--;
      while (sx != obs[p].first) putchar('L'), vx--, sx--;
      while (vy != sy) putchar('U'), vy++;
      while (vx < -L - 1) putchar('R'), vx++, sx++;
      while (vx > L + 1) putchar('L'), vx--, sx--;
    } else {
      if (curQ.empty()) {
        static int from[ML + 1 + ML][ML + 1 + ML];
        int q_n = 0;
        static pair<int, int> q[(ML + 1 + ML) * (ML + 1 + ML)];
        for (int x = -ML; x <= ML; x++)
          for (int y = -ML; y <= ML; y++) from[ML + x][ML + y] = -1;
        from[ML + sx][ML + sy] = 4, q[q_n++] = make_pair(sx, sy);
        bool found = false;
        for (int i = 0; i < q_n; i++) {
          pair<int, int> cur = q[i];
          for (int d = 0; d < ND; d++) {
            pair<int, int> next(cur.first + DX[d], cur.second + DY[d]);
            if (next.first < -ML || next.first > ML) continue;
            if (next.second < -ML || next.second > ML) continue;
            if (!a[ML + next.first][ML + next.second] &&
                from[ML + next.first][ML + next.second] == -1) {
              from[ML + next.first][ML + next.second] = d, q[q_n++] = next;
              if (next == make_pair(vx, vy)) {
                found = true;
                break;
              }
            }
          }
          if (found) break;
        }
        if (!found) {
          printf("-1\n");
          return 0;
        }
        int x = vx, y = vy;
        while (from[ML + x][ML + y] != 4) {
          int d = 3 - from[ML + x][ML + y];
          x += DX[d], y += DY[d];
          curQ.push(d);
        }
      }
      int d = curQ.front();
      curQ.pop();
      if (d == 0)
        putchar('L');
      else if (d == 1)
        putchar('D');
      else if (d == 2)
        putchar('U');
      else
        putchar('R');
      vx += DX[d], vy += DY[d];
      if (!a[ML + min(max(sx + DX[d], -L - 2), L + 2)]
            [ML + min(max(sy + DY[d], -L - 2), L + 2)]) {
        curQ.push(d);
        sx += DX[d], sy += DY[d];
      }
    }
  }
  return 0;
}