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 INF = (int)1e9;
const long long INF64 = (long long)1e18;
const long double eps = 1e-9;
const long double pi = 3.14159265358979323846;
int n;
int xx0, yy0;
int trans[510][510];
int fa[260000];
int nu[510][510];
int use[510][510];
int minCol[510], maxCol[510];
int minRow[510], maxRow[510];
int mv[4][2] = {{-1, 0}, {1, 0}, {0, -1}, {0, 1}};
char ch[] = "UDLR";
string ans;
int rt(int now) {
  if (fa[now] == now) return now;
  return fa[now] = rt(fa[now]);
}
void dfs(int xx, int yy) {
  int dx, dy;
  use[xx][yy] = 1;
  if (!nu[xx][yy]) ans += "1", nu[xx][yy] = 1;
  for (int k = 0; k < 4; k++) {
    dx = xx + mv[k][0];
    dy = yy + mv[k][1];
    bool flag = false;
    while (flag == false && 0 <= dx && dx < n && 0 <= dy && dy < n) {
      if (nu[dx][dy]) flag = true;
      dx += mv[k][0];
      dy += mv[k][1];
    }
    dx = xx + mv[k][0];
    dy = yy + mv[k][1];
    if (flag) {
      if (use[dx][dy] == 0 && rt(trans[dx][dy]) == rt(trans[xx0][yy0])) {
        ans += ch[k];
        dfs(dx, dy);
        ans += ch[k ^ 1];
      }
    }
  }
  ans += "2";
  nu[xx][yy] = 0;
}
int main() {
  int xx, yy;
  int cnt;
  int i, j;
  int a, b;
  bool ansF;
  memset(use, 0, sizeof(use));
  cin >> n >> xx >> yy;
  xx--, yy--;
  xx0 = xx;
  yy0 = yy;
  for (i = 0; i < n; i++) {
    minCol[i] = minRow[i] = INF;
    maxCol[i] = maxRow[i] = -INF;
  }
  cnt = 0;
  for (i = 0; i < n; i++) {
    for (j = 0; j < n; j++) {
      cin >> nu[i][j];
      if (nu[i][j]) {
        minCol[j] = min(minCol[j], i);
        maxCol[j] = max(maxCol[j], i);
        minRow[i] = min(minRow[i], j);
        maxRow[i] = max(maxRow[i], j);
      }
      trans[i][j] = cnt;
      fa[cnt] = cnt;
      cnt++;
    }
  }
  for (int k = 0; k < 2; k++) {
    for (i = 0; i < n; i++) {
      if (minCol[i] != INF) {
        for (j = minCol[i] + 1; j <= maxCol[i]; j++) {
          a = trans[j - 1][i];
          b = trans[j][i];
          if (rt(a) != rt(b)) fa[rt(a)] = rt(b);
          minRow[j] = min(minRow[j], i);
          maxRow[j] = max(maxRow[j], i);
        }
      }
      if (minRow[i] != INF) {
        for (j = minRow[i] + 1; j <= maxRow[i]; j++) {
          a = trans[i][j - 1];
          b = trans[i][j];
          if (rt(a) != rt(b)) fa[rt(a)] = rt(b);
          minCol[j] = min(minCol[j], i);
          maxCol[j] = max(maxCol[j], i);
        }
      }
    }
  }
  ansF = true;
  for (i = 0; i < n; i++) {
    for (j = 0; j < n; j++) {
      if (nu[i][j] && rt(trans[xx][yy]) != rt(trans[i][j])) ansF = false;
    }
  }
  ans = "";
  if (ansF) {
    dfs(xx, yy);
    cnt = 0;
    for (i = 0; i < n; i++)
      for (j = 0; j < n; j++) cnt += nu[i][j];
    if (cnt == 0)
      cout << "YES\n" << ans << endl;
    else
      cout << "NO\n";
  } else
    cout << "NO\n";
  return 0;
}