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;
#pragma comment(linker, "/STACK:100000000")
int matrix[900][900];
int tmp[900][900];
int dx[4] = {1, 0, -1, 0};
int dy[4] = {0, 1, 0, -1};
vector<pair<int, int> > all;
void go(int x, int y) {
  queue<pair<int, int> > q;
  tmp[x][y] = 1;
  q.push(make_pair(x, y));
  all.push_back(make_pair(x, y));
  while (!q.empty()) {
    x = q.front().first;
    y = q.front().second;
    q.pop();
    for (int i = 0; i < 4; i++) {
      if (x + dx[i] >= 290 && x + dx[i] <= 510 && y + dy[i] >= 290 &&
          y + dy[i] <= 510) {
        if (matrix[x + dx[i]][y + dy[i]] != 255 &&
            tmp[x + dx[i]][y + dy[i]] == 0) {
          tmp[x + dx[i]][y + dy[i]] = 1;
          q.push(make_pair(x + dx[i], y + dy[i]));
          all.push_back(make_pair(x + dx[i], y + dy[i]));
        }
      }
    }
  }
}
vector<int> path;
int cnt = 0;
void bfs(int x1, int y1, int x2, int y2) {
  for (int i = 0, maxi = (int)(all).size(); i < maxi; i++) {
    int x = all[i].first;
    int y = all[i].second;
    tmp[x][y] = 0;
  }
  all.clear();
  path.clear();
  cnt = 0;
  queue<pair<int, int> > q;
  q.push(make_pair(x1, y1));
  tmp[x1][y1] = 111;
  all.push_back(make_pair(x1, y1));
  while (!q.empty()) {
    for (int i = 0, maxi = (int)(q).size(); i < maxi; i++) {
      int x = q.front().first;
      int y = q.front().second;
      q.pop();
      if (x == x2 && y == y2) {
        cnt = 0;
        while (x != x1 || y != y1) {
          int j = tmp[x][y] - 1;
          cnt++;
          path.push_back(j);
          x = x - dx[j];
          y = y - dy[j];
        }
        return;
      }
      for (int j = 0; j < 4; j++) {
        if (x + dx[j] >= 0 && x + dx[j] <= 799 && y + dy[j] >= 0 &&
            y + dy[j] <= 799) {
          if (matrix[x + dx[j]][y + dy[j]] != 255 &&
              tmp[x + dx[j]][y + dy[j]] == 0) {
            tmp[x + dx[j]][y + dy[j]] = j + 1;
            q.push(make_pair(x + dx[j], y + dy[j]));
            all.push_back(make_pair(x + dx[j], y + dy[j]));
          }
        }
      }
    }
  }
}
string ans = "";
int main() {
  int x1, y1, x2, y2;
  scanf("%d %d %d %d", &x1, &y1, &x2, &y2);
  x1 += 400;
  y1 += 400;
  x2 += 400;
  y2 += 400;
  int m;
  scanf("%d", &m);
  int max_x = 0, min_x = 800, max_y = 0, min_y = 800;
  for (int i = 0; i < m; i++) {
    int x, y;
    scanf("%d %d", &x, &y);
    x += 400;
    y += 400;
    min_x = min(min_x, x);
    max_x = max(max_x, x);
    min_y = min(min_y, y);
    max_y = max(max_y, y);
    matrix[x][y] = 255;
  }
  go(x1, y1);
  if (m == 0 || tmp[x1][y1] != tmp[x2][y2]) {
    printf("-1");
    return 0;
  }
  while (true) {
    bfs(x1, y1, x2, y2);
    reverse(path.begin(), path.end());
    for (int i = 0; i < cnt; i++) {
      if (path[i] == 0)
        ans += "R";
      else if (path[i] == 1)
        ans += "U";
      else if (path[i] == 2)
        ans += "L";
      else if (path[i] == 3)
        ans += "D";
      int j = path[i];
      x1 += dx[j];
      y1 += dy[j];
      if (matrix[x2 + dx[j]][y2 + dy[j]] != 255) {
        x2 += dx[j];
        y2 += dy[j];
        path.push_back(j);
        cnt++;
      }
      if (min(y1, y2) > max_y || max(y1, y2) < min_y || min(x1, x2) > max_x ||
          max(x1, x2) < min_x || x1 == x2 && y1 == y2)
        break;
    }
    if (x1 == x2 && y1 == y2) {
      cout << ans;
      return 0;
    }
    bool flag = false;
    if (min(y1, y2) > max_y) {
      if (max(x1, x2) >= min_x) {
        int diff = max(x1, x2) - min_x + 1;
        x1 -= diff;
        x2 -= diff;
        for (int i = 0; i < diff; i++) ans += "L";
      }
      if (max(y1, y2) >= min_y) {
        int diff = max(y1, y2) - min_y + 1;
        y1 -= diff;
        y2 -= diff;
        for (int i = 0; i < diff; i++) ans += "D";
      }
      flag = true;
    } else if (max(y1, y2) < min_y) {
      if (max(x1, x2) >= min_x) {
        int diff = max(x1, x2) - min_x + 1;
        x1 -= diff;
        x2 -= diff;
        for (int i = 0; i < diff; i++) ans += "L";
      }
      if (max(y1, y2) >= min_y) {
        int diff = max(y1, y2) - min_y + 1;
        y1 -= diff;
        y2 -= diff;
        for (int i = 0; i < diff; i++) ans += "D";
      }
      flag = true;
    } else if (min(x1, x2) > max_x) {
      if (max(y1, y2) >= min_y) {
        int diff = max(y1, y2) - min_y + 1;
        y1 -= diff;
        y2 -= diff;
        for (int i = 0; i < diff; i++) ans += "D";
      }
      if (max(x1, x2) >= min_x) {
        int diff = max(x1, x2) - min_x + 1;
        x1 -= diff;
        x2 -= diff;
        for (int i = 0; i < diff; i++) ans += "L";
      }
      flag = true;
    } else if (max(x1, x2) < min_x) {
      if (max(y1, y2) >= min_y) {
        int diff = max(y1, y2) - min_y + 1;
        y1 -= diff;
        y2 -= diff;
        for (int i = 0; i < diff; i++) ans += "D";
      }
      if (max(x1, x2) >= min_x) {
        int diff = max(x1, x2) - min_x + 1;
        x1 -= diff;
        x2 -= diff;
        for (int i = 0; i < diff; i++) ans += "L";
      }
      flag = true;
    }
    if (flag) {
      if (y2 > y1) {
        int y = min_y;
        int x;
        for (int i = 290; i < 510; i++) {
          if (matrix[i][y] == 255) {
            x = i;
            break;
          }
        }
        if (x2 < x) {
          int diff = x - x2;
          x1 += diff;
          x2 += diff;
          for (int i = 0; i < diff; i++) ans += "R";
        }
        if (y2 != y1) {
          int diff = y - y1 - 1;
          y2 = y - 1;
          y1 = y2;
          for (int i = 0; i < diff; i++) ans += "U";
        }
      } else {
        if (min(y1, y2) <= max_y) {
          int diff = max_y - min(y1, y2) + 1;
          y1 += diff;
          y2 += diff;
          for (int i = 0; i < diff; i++) ans += "U";
        }
        int y = max_y;
        int x;
        for (int i = 290; i < 510; i++) {
          if (matrix[i][y] == 255) {
            x = i;
            break;
          }
        }
        if (x2 < x) {
          int diff = x - x2;
          x1 += diff;
          x2 += diff;
          for (int i = 0; i < diff; i++) ans += "R";
        }
        if (y2 != y1) {
          int diff = y1 - y - 1;
          y1 -= diff;
          y2 = y + 1;
          for (int i = 0; i < diff; i++) ans += "D";
        }
      }
      if (x2 > x1) {
        if (max(x1, x2) >= min_x) {
          int diff = max(x1, x2) - min_x + 1;
          x2 -= diff;
          x1 -= diff;
          for (int i = 0; i < diff; i++) ans += "L";
        }
        if (max(y1, y2) >= min_y) {
          int diff = max(y1, y2) - min_y + 1;
          y2 -= diff;
          y1 -= diff;
          for (int i = 0; i < diff; i++) ans += "D";
        }
        int x = min_x;
        int y;
        for (int i = 290; i < 510; i++) {
          if (matrix[x][i] == 255) {
            y = i;
            break;
          }
        }
        if (y1 < y) {
          int diff = y - y1;
          y1 += diff;
          y2 += diff;
          for (int i = 0; i < diff; i++) ans += "U";
        }
        if (x2 != x1) {
          int diff = x - x1 - 1;
          x1 += diff;
          x2 = x - 1;
          for (int i = 0; i < diff; i++) ans += "R";
        }
        cout << ans;
        return 0;
      } else {
        if (min(x1, x2) <= max_x) {
          int diff = max_x - min(x1, x2) + 1;
          x1 += diff;
          x2 += diff;
          for (int i = 0; i < diff; i++) ans += "R";
        }
        if (max(y1, y2) >= min_y) {
          int diff = max(y1, y2) - min_y + 1;
          y2 -= diff;
          y1 -= diff;
          for (int i = 0; i < diff; i++) ans += "D";
        }
        int x = max_x;
        int y;
        for (int i = 290; i < 510; i++) {
          if (matrix[x][i] == 255) {
            y = i;
            break;
          }
        }
        if (y1 < y) {
          int diff = y - y1;
          y1 += diff;
          y2 += diff;
          for (int i = 0; i < diff; i++) ans += "U";
        }
        while (x2 != x1) {
          int diff = x1 - x - 1;
          x1 -= diff;
          x2 = x + 1;
          for (int i = 0; i < diff; i++) ans += "L";
        }
        cout << ans;
        return 0;
      }
    }
  }
  return 0;
}