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 pkt {
  int x, y;
};
pkt ja, cien;
set<pair<int, int> > Z;
int n;
int dx[] = {0, 1, 0, -1};
int dy[] = {1, 0, -1, 0};
string odp = "";
int Spr() {
  stack<pkt> S;
  set<pair<int, int> > odw;
  S.push(ja);
  odw.insert(make_pair(ja.x, ja.y));
  bool wyj = false;
  while (!S.empty()) {
    pkt akt = S.top();
    S.pop();
    if (akt.x == 101 || akt.x == -101 || akt.y == 101 || akt.y == -101)
      wyj = true;
    for (int i = 0; i < 4; ++i) {
      pkt nowy = {akt.x + dx[i], akt.y + dy[i]};
      if (Z.find(make_pair(nowy.x, nowy.y)) == Z.end() &&
          odw.find(make_pair(nowy.x, nowy.y)) == odw.end() && nowy.x >= -101 &&
          nowy.x <= 101 && nowy.y >= -101 && nowy.y <= 101) {
        S.push(nowy);
        odw.insert(make_pair(nowy.x, nowy.y));
      }
    }
  }
  if (odw.find(make_pair(cien.x, cien.y)) == odw.end()) return 0;
  if (wyj) return 1;
  return 2;
}
bool Wew(pkt a) {
  return (a.x >= -100 && a.x <= 100 && a.y >= -100 && a.y <= 100);
}
void P(int x, int y) {
  for (int i = 0; i < abs(x); ++i) {
    if (x > 0) {
      odp += "R";
      ++ja.x;
      if (Z.find(make_pair(cien.x + 1, cien.y)) == Z.end()) ++cien.x;
    } else {
      odp += "L";
      --ja.x;
      if (Z.find(make_pair(cien.x - 1, cien.y)) == Z.end()) --cien.x;
    }
  }
  for (int i = 0; i < abs(y); ++i) {
    if (y > 0) {
      odp += "U";
      ++ja.y;
      if (Z.find(make_pair(cien.x, cien.y + 1)) == Z.end()) ++cien.y;
    } else {
      odp += "D";
      --ja.y;
      if (Z.find(make_pair(cien.x, cien.y - 1)) == Z.end()) --cien.y;
    }
  }
}
void Wyjdz(pkt start) {
  queue<pkt> Q;
  set<pair<int, int> > odw;
  map<pair<int, int>, pair<int, int> > pop;
  Q.push(start);
  odw.insert(make_pair(start.x, start.y));
  pop[make_pair(start.x, start.y)] = make_pair(1000, 1000);
  pkt akt;
  while (!Q.empty()) {
    akt = Q.front();
    Q.pop();
    if (akt.x == 101 || akt.x == -101 || akt.y == 101 || akt.y == -101) break;
    for (int i = 0; i < 4; ++i) {
      pkt nowy = {akt.x + dx[i], akt.y + dy[i]};
      if (Z.find(make_pair(nowy.x, nowy.y)) == Z.end() &&
          odw.find(make_pair(nowy.x, nowy.y)) == odw.end() && nowy.x >= -101 &&
          nowy.x <= 101 && nowy.y >= -101 && nowy.y <= 101) {
        odw.insert(make_pair(nowy.x, nowy.y));
        Q.push(nowy);
        pop[make_pair(nowy.x, nowy.y)] = make_pair(akt.x, akt.y);
      }
    }
  }
  string path = "";
  while (true) {
    pkt ost = {pop[make_pair(akt.x, akt.y)].first,
               pop[make_pair(akt.x, akt.y)].second};
    if (ost.x == 1000) break;
    if (akt.x == ost.x) {
      if (akt.y > ost.y)
        path += "U";
      else
        path += "D";
    } else {
      if (akt.x > ost.x)
        path += "R";
      else
        path += "L";
    }
    akt = ost;
  }
  reverse(path.begin(), path.end());
  for (int i = 0; i < path.size(); ++i) {
    if (path[i] == 'U') P(0, 1);
    if (path[i] == 'D') P(0, -1);
    if (path[i] == 'L') P(-1, 0);
    if (path[i] == 'R') P(1, 0);
  }
}
void Obracaj(pkt a) {
  if (a.x >= 101) return;
  if (a.y >= 101) {
    P(101 - a.x, 101 - a.y);
    return;
  }
  if (a.x <= -101) {
    P(-101 - a.x, 101 - a.y);
    P(202, 0);
    return;
  }
  P(101 - a.x, -101 - a.y);
  P(0, 202);
}
string bfs() {
  queue<pkt> Q;
  set<pair<int, int> > odw;
  map<pair<int, int>, pair<int, int> > pop;
  Q.push(ja);
  odw.insert(make_pair(ja.x, ja.y));
  pop[make_pair(ja.x, ja.y)] = make_pair(1000, 1000);
  while (!Q.empty()) {
    pkt akt = Q.front();
    Q.pop();
    for (int i = 0; i < 4; ++i) {
      pkt nowy = {akt.x + dx[i], akt.y + dy[i]};
      if (Z.find(make_pair(nowy.x, nowy.y)) == Z.end() &&
          odw.find(make_pair(nowy.x, nowy.y)) == odw.end()) {
        odw.insert(make_pair(nowy.x, nowy.y));
        Q.push(nowy);
        pop[make_pair(nowy.x, nowy.y)] = make_pair(akt.x, akt.y);
      }
    }
  }
  string path = "";
  pkt akt = cien;
  while (true) {
    pkt ost = {pop[make_pair(akt.x, akt.y)].first,
               pop[make_pair(akt.x, akt.y)].second};
    if (ost.x == 1000) break;
    if (akt.x == ost.x) {
      if (akt.y > ost.y)
        path += "U";
      else
        path += "D";
    } else {
      if (akt.x > ost.x)
        path += "R";
      else
        path += "L";
    }
    akt = ost;
  }
  reverse(path.begin(), path.end());
  return path;
}
int main() {
  cin >> ja.x >> ja.y >> cien.x >> cien.y;
  cin >> n;
  pkt g = {0, -101}, d = {0, 101}, p = {-101, 0}, l = {101, 0};
  for (int i = 0; i < n; ++i) {
    pkt t;
    cin >> t.x >> t.y;
    if (t.y > g.y) g = t;
    if (t.y < d.y) d = t;
    if (t.x > p.x) p = t;
    if (t.x < l.x) l = t;
    Z.insert(make_pair(t.x, t.y));
  }
  if (n == 0 || Spr() == 0) {
    cout << "-1";
    return 0;
  }
  if (Spr() == 1) {
    if (Wew(ja)) Wyjdz(ja);
    Obracaj(ja);
    P(1000, 0);
    if (Wew(cien)) Wyjdz(cien);
    Obracaj(cien);
    if (ja.x != cien.x) {
      if (cien.x < ja.x) {
        P(p.x + 1 - cien.x, p.y - cien.y);
        P(cien.x - ja.x, 0);
      } else {
        if (ja.y <= cien.y) {
          P(101 - ja.x, 101 - ja.y);
          P(-101 - cien.x, 0);
        } else {
          P(101 - ja.x, -101 - ja.y);
          P(-101 - cien.x, 0);
        }
        P(l.x - 1 - cien.x, l.y - cien.y);
        P(cien.x - ja.x, 0);
      }
    }
    if (ja.y != cien.y) {
      if (cien.y < ja.y) {
        if (ja.x > p.x)
          P(101 - cien.x, 101 - cien.y);
        else
          P(-101 - cien.x, 101 - cien.y);
        P(g.x - cien.x, g.y + 1 - cien.y);
      } else {
        if (ja.x > p.x)
          P(101 - cien.x, -101 - cien.y);
        else
          P(-101 - cien.x, -101 - cien.y);
        P(d.x - cien.x, d.y - 1 - cien.y);
      }
      P(0, cien.y - ja.y);
    }
  } else {
    string path = bfs();
    queue<int> Q;
    for (int i = 0; i < path.size(); ++i) {
      if (path[i] == 'U') Q.push(0);
      if (path[i] == 'R') Q.push(1);
      if (path[i] == 'D') Q.push(2);
      if (path[i] == 'L') Q.push(3);
    }
    while (!Q.empty()) {
      if (Q.front() == 0) odp += "U";
      if (Q.front() == 1) odp += "R";
      if (Q.front() == 2) odp += "D";
      if (Q.front() == 3) odp += "L";
      ja = {ja.x + dx[Q.front()], ja.y + dy[Q.front()]};
      pkt nowyCien = {cien.x + dx[Q.front()], cien.y + dy[Q.front()]};
      if (Z.find(make_pair(nowyCien.x, nowyCien.y)) == Z.end()) {
        cien = nowyCien;
        Q.push(Q.front());
      }
      if (ja.x == cien.x && ja.y == cien.y) break;
      Q.pop();
    }
  }
  cout << odp;
  return 0;
}