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;
const int N = 505;
bool board[N][N];
bool vst[N][N];
bool edges[N][N][5];
int fx[] = {0, 1, 0, -1};
int fy[] = {1, 0, -1, 0};
char ch[] = {'D', 'R', 'U', 'L'};
queue<pair<int, int> > q;
int n;
bool comp[N][N];
bool check(int y, int x, int dy, int dx) {
  if (y < 0 || y >= n || x < 0 || x >= n) return false;
  if (vst[y][x]) return false;
  if (board[y][x]) {
    q.push({y, x});
    vst[y][x] = true;
    return true;
  }
  if (check(y + dy, x + dx, dy, dx)) {
    q.push({y, x});
    vst[y][x] = true;
    if (dx == 0 && dy == 1) edges[y][x][0] = true;
    if (dx == 1 && dy == 0) edges[y][x][1] = true;
    if (dx == 0 && dy == -1) edges[y][x][2] = true;
    if (dx == -1 && dy == 0) edges[y][x][3] = true;
    return true;
  }
  return false;
}
void build(int yo, int xo) {
  q.push({yo, xo});
  vst[yo][xo] = true;
  while (!q.empty()) {
    pair<int, int> ini = q.front();
    comp[ini.first][ini.second] = true;
    q.pop();
    for (int c = int(0); c < int(4); ++c)
      if (check(ini.first + fy[c], ini.second + fx[c], fy[c], fx[c])) {
        edges[ini.first][ini.second][c] = true;
      }
  }
}
string ans;
void ter(int y, int x, char chh) {
  vst[y][x] = true;
  if (!board[y][x]) ans.push_back('1');
  for (int c = int(0); c < int(4); ++c)
    if (edges[y][x][c]) {
      int yy = y + fy[c];
      int xx = x + fx[c];
      if (yy < 0 || yy >= n) continue;
      if (xx < 0 || xx >= n) continue;
      if (vst[yy][xx]) continue;
      if (!comp[yy][xx]) continue;
      ans.push_back(ch[c]);
      ter(yy, xx, ch[c]);
    }
  ans.push_back('2');
  if (chh != 'x') {
    if (chh == 'U') ans.push_back('D');
    if (chh == 'D') ans.push_back('U');
    if (chh == 'L') ans.push_back('R');
    if (chh == 'R') ans.push_back('L');
  }
}
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  int yo, xo;
  cin >> n >> yo >> xo;
  yo--, xo--;
  for (int i = int(0); i < int(n); ++i)
    for (int j = int(0); j < int(n); ++j) cin >> board[i][j];
  build(yo, xo);
  for (int i = int(0); i < int(n); ++i)
    for (int j = int(0); j < int(n); ++j) {
      if (board[i][j] && !comp[i][j]) {
        cout << "NO" << endl;
        return 0;
      }
    }
  memset(vst, false, sizeof(vst));
  ter(yo, xo, 'x');
  cout << "YES" << endl;
  cout << ans << endl;
  return 0;
}