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 max_n = 511, inf = 1e9 + 100;
bool m[max_n][max_n];
bool vis[max_n][max_n];
int mini[max_n], maxi[max_n];
int minj[max_n], maxj[max_n];
int si, sj;
int n;
int di[] = {0, 0, 1, -1};
int dj[] = {-1, 1, 0, 0};
char dir[] = "LRDU";
string result;
bool on_field(int i, int j) { return i >= 0 && j >= 0 && i < n && j < n; }
void upd_mx(int i, int j) {
  mini[j] = min(mini[j], i);
  maxi[j] = max(maxi[j], i);
  minj[i] = min(minj[i], j);
  maxj[i] = max(maxj[i], j);
}
void dfs(int i, int j) {
  if (vis[i][j]) {
    return;
  }
  vis[i][j] = 1;
  if (m[i][j] == 0) {
    result += '1';
    m[i][j] = 1;
    upd_mx(i, j);
  }
  if (on_field(i - 1, j) && !vis[i - 1][j] && mini[j] < i) {
    result += 'U';
    dfs(i - 1, j);
    result += 'D';
  }
  if (on_field(i + 1, j) && !vis[i + 1][j] && maxi[j] > i) {
    result += 'D';
    dfs(i + 1, j);
    result += 'U';
  }
  if (on_field(i, j - 1) && !vis[i][j - 1] && minj[i] < j) {
    result += 'L';
    dfs(i, j - 1);
    result += 'R';
  }
  if (on_field(i, j + 1) && !vis[i][j + 1] && maxj[i] > j) {
    result += 'R';
    dfs(i, j + 1);
    result += 'L';
  }
}
int main() {
  for (int i = 0; i < max_n; ++i) {
    minj[i] = mini[i] = max_n;
    maxj[i] = maxi[i] = -1;
  }
  cin >> n >> si >> sj;
  --si, --sj;
  for (int i = 0; i < n; ++i) {
    for (int j = 0; j < n; ++j) {
      cin >> m[i][j];
      if (m[i][j] == 1) {
        mini[j] = min(mini[j], i);
        maxi[j] = max(maxi[j], i);
        minj[i] = min(minj[i], j);
        maxj[i] = max(maxj[i], j);
      }
    }
  }
  dfs(si, sj);
  for (int i = 0; i < n; ++i) {
    for (int j = 0; j < n; ++j) {
      if (m[i][j] && !vis[i][j]) {
        cout << "NO" << endl;
        return 0;
      }
    }
  }
  int fi = si, fj = sj;
  while (si > 0) {
    int upj = -1;
    for (int j = 0; j < n; ++j) {
      if (m[si][j] && m[si - 1][j]) {
        upj = j;
        break;
      }
    }
    if (upj == -1) {
      break;
    }
    while (sj < upj) {
      result += 'R';
      ++sj;
    }
    while (sj > upj) {
      result += 'L';
      --sj;
    }
    result += 'U';
    --si;
  }
  while (si < fi) {
    int dj = -1;
    for (int j = 0; j < n; ++j) {
      if (m[si][j] && m[si + 1][j]) {
        dj = j;
        break;
      }
    }
    if (dj == -1) {
      break;
    }
    while (sj < dj) {
      result += 'R';
      ++sj;
    }
    while (sj > dj) {
      result += 'L';
      --sj;
    }
    while (sj > 0 && m[si][sj - 1]) {
      result += 'L';
      --sj;
    }
    while (sj < dj) {
      result += '2';
      result += 'R';
      ++sj;
    }
    while (sj + 1 < n && m[si][sj + 1]) {
      result += 'R';
      ++sj;
    }
    while (sj > dj) {
      result += '2';
      result += 'L';
      --sj;
    }
    result += '2';
    result += 'D';
    ++si;
  }
  while (si + 1 < n) {
    int dj = -1;
    for (int j = 0; j < n; ++j) {
      if (m[si][j] && m[si + 1][j]) {
        dj = j;
        break;
      }
    }
    if (dj == -1) {
      break;
    }
    while (sj < dj) {
      result += 'R';
      ++sj;
    }
    while (sj > dj) {
      result += 'L';
      --sj;
    }
    result += 'D';
    ++si;
  }
  while (si > fi) {
    int upj = -1;
    for (int j = 0; j < n; ++j) {
      if (m[si][j] && m[si - 1][j]) {
        upj = j;
        break;
      }
    }
    if (upj == -1) {
      break;
    }
    while (sj < upj) {
      result += 'R';
      ++sj;
    }
    while (sj > upj) {
      result += 'L';
      --sj;
    }
    while (sj > 0 && m[si][sj - 1]) {
      result += 'L';
      --sj;
    }
    while (sj < upj) {
      result += '2';
      result += 'R';
      ++sj;
    }
    while (sj + 1 < n && m[si][sj + 1]) {
      result += 'R';
      ++sj;
    }
    while (sj > upj) {
      result += '2';
      result += 'L';
      --sj;
    }
    result += '2';
    result += 'U';
    --si;
  }
  while (sj < fj) {
    result += 'R';
    ++sj;
  }
  while (sj > fj) {
    result += 'L';
    --sj;
  }
  while (sj > 0 && m[si][sj - 1]) {
    result += 'L';
    --sj;
  }
  while (sj < fj) {
    result += '2';
    result += 'R';
    ++sj;
  }
  while (sj + 1 < n && m[si][sj + 1]) {
    result += 'R';
    ++sj;
  }
  while (sj > fj) {
    result += '2';
    result += 'L';
    --sj;
  }
  result += '2';
  if (result.size() > 2e6) {
    exit(228);
  }
  cout << "YES" << endl;
  cout << result << endl;
  return 0;
}