Problem: Simon loves neatness. So before he goes to bed, Simon wants to complete all chores in the house.

Simon's house looks like a rectangular table consisting of n rows and n columns from above. All rows of the table are numbered from 1 to n from top to bottom. All columns of the table are numbered from 1 to n from left to right. Each cell of the table is a room. Pair (x, y) denotes the room, located at the intersection of the x-th row and the y-th column. For each room we know if the light is on or not there.

Initially Simon is in room (x0, y0). He wants to turn off the lights in all the rooms in the house, and then return to room (x0, y0). Suppose that at the current moment Simon is in the room (x, y). To reach the desired result, he can perform the following steps:

  1. The format of the action is "1". The action is to turn on the light in room (x, y). Simon cannot do it if the room already has light on. 
  2. The format of the action is "2". The action is to turn off the light in room (x, y). Simon cannot do it if the room already has light off. 
  3. The format of the action is "dir" (dir is a character). The action is to move to a side-adjacent room in direction dir. The direction can be left, right, up or down (the corresponding dir is L, R, U or D). Additionally, Simon can move only if he see a light in the direction dir. More formally, if we represent the room, Simon wants to go, as (nx, ny), there shold be an integer k (k > 0), that room (x + (nx - x)k, y + (ny - y)k) has a light. Of course, Simon cannot move out of his house. 



Help Simon, find the sequence of actions that lets him achieve the desired result.

Input

The first line contains three positive integers n, x0, y0 (2 ≤ n ≤ 500, 1 ≤ x0, y0 ≤ n).

Next n lines contain the description of rooms in the house. The i-th line contains n space-separated integers ai1, ai2, ..., ain. If number aij equals zero, then room (i, j) has light off, and if number aij equals one, then room (i, j) has light on. It is guaranteed that at least one room has light on.

Output

If there is no desired sequence of actions, print "NO" (without the quotes). Otherwise, print "YES" (without the quotes) and the description of the required sequence of actions as a string. Note that you do not have to minimize the length of the sequence of actions but you shouldn't use more than 3·106 actions.

Examples

Input

3 1 1
1 0 0
0 1 0
1 0 0


Output

YES
D1R2L2D2UU2


Input

3 1 1
1 0 0
0 1 0
0 0 1


Output

NO

Solution (in CPP):

Solution:
#include <bits/stdc++.h>
using namespace std;
int nextInt() {
  int x;
  scanf("%d", &x);
  return x;
}
template <class T>
void debug(vector<T> a) {
  for (int i = 0; i < a.size(); ++i) {
    cerr << a[i] << " ";
  }
  cerr << endl;
}
int a[500 + 2][500 + 2];
int n;
int posx, posy;
string res;
void debug() {}
void turnOff() {
  res += "2";
  assert(a[posx][posy] != 0);
  a[posx][posy] = 0;
  debug();
}
void turnOn() {
  res += "1";
  assert(a[posx][posy] != 1);
  a[posx][posy] = 1;
  debug();
}
void move(int dx, int dy) {
  posx += dx;
  posy += dy;
  assert((dx != 0) != (dy != 0));
  if (dx == -1 && dy == 0) {
    res += "U";
  }
  if (dx == 1 && dy == 0) {
    res += "D";
  }
  if (dx == 0 && dy == -1) {
    res += "L";
  }
  if (dx == 0 && dy == 1) {
    res += "R";
  }
}
bool used[500 + 2][500 + 2];
int rowLo[500 + 2];
int rowHi[500 + 2];
int colLo[500 + 2];
int colHi[500 + 2];
void fillDfs() {
  if (a[posx][posy] == 0) {
    turnOn();
  }
  used[posx][posy] = true;
  rowLo[posx] = min(rowLo[posx], posy);
  rowHi[posx] = max(rowHi[posx], posy);
  colLo[posy] = min(colLo[posy], posx);
  colHi[posy] = max(colHi[posy], posx);
  for (int dx = -1; dx <= 1; ++dx) {
    for (int dy = -1; dy <= 1; ++dy) {
      if ((dx != 0) != (dy != 0)) {
        int nx = posx + dx;
        int ny = posy + dy;
        if (1 <= nx && nx <= n && 1 <= ny && ny <= n && !used[nx][ny]) {
          if (dx != 0 && colLo[ny] <= nx && nx <= colHi[ny] ||
              dy != 0 && rowLo[nx] <= ny && ny <= rowHi[nx]) {
            move(dx, dy);
            fillDfs();
            move(-dx, -dy);
          }
        }
      }
    }
  }
}
bool fill() {
  for (int i = 1; i <= n; ++i) {
    rowLo[i] = n + 1;
    rowHi[i] = 0;
    colLo[i] = n + 1;
    colHi[i] = 0;
  }
  for (int i = 1; i <= n; ++i) {
    for (int j = 1; j <= n; ++j) {
      if (a[i][j] == 1) {
        rowLo[i] = min(rowLo[i], j);
        rowHi[i] = max(rowHi[i], j);
        colLo[j] = min(colLo[j], i);
        colHi[j] = max(colHi[j], i);
      }
    }
  }
  fillDfs();
  for (int i = 1; i <= n; ++i) {
    for (int j = 1; j <= n; ++j) {
      if (a[i][j] == 1 && !used[i][j]) {
        return false;
      }
    }
  }
  return true;
}
void cleanDfs() {
  used[posx][posy] = true;
  for (int dx = -1; dx <= 1; ++dx) {
    for (int dy = -1; dy <= 1; ++dy) {
      if ((dx != 0) != (dy != 0)) {
        int nx = posx + dx;
        int ny = posy + dy;
        if (1 <= nx && nx <= n && 1 <= ny && ny <= n && !used[nx][ny] &&
            a[nx][ny] == 1) {
          move(dx, dy);
          cleanDfs();
          turnOff();
          move(-dx, -dy);
        }
      }
    }
  }
}
void clean() {
  memset(used, 0, sizeof(used));
  cleanDfs();
  turnOff();
}
int main() {
  n = nextInt();
  posx = nextInt();
  posy = nextInt();
  for (int i = 1; i <= n; ++i) {
    for (int j = 1; j <= n; ++j) {
      a[i][j] = nextInt();
    }
  }
  if (fill()) {
    clean();
    printf("YES\n%s\n", res.c_str());
  } else {
    printf("NO\n");
  }
  return 0;
}