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;
void debug_out() { cerr << endl; }
template <class T>
ostream& prnt(ostream& out, T v) {
  out << v.size() << '\n';
  for (auto e : v) out << e << ' ';
  return out;
}
template <class T>
ostream& operator<<(ostream& out, vector<T> v) {
  return prnt(out, v);
}
template <class T>
ostream& operator<<(ostream& out, set<T> v) {
  return prnt(out, v);
}
template <class T1, class T2>
ostream& operator<<(ostream& out, map<T1, T2> v) {
  return prnt(out, v);
}
template <class T1, class T2>
ostream& operator<<(ostream& out, pair<T1, T2> p) {
  return out << '(' << p.st << ' ' << p.nd << ')';
}
template <typename Head, typename... Tail>
void debug_out(Head H, Tail... T) {
  cerr << " " << H;
  debug_out(T...);
}
const long double PI = acos(-1);
int n, xst, yst, mat[505][505], viz[505][505];
int dx[] = {-1, 0, 0, 1};
int dy[] = {0, -1, 1, 0};
int can[505][505][4];
void prec() {
  for (int i = 2; i <= n; i++)
    for (int j = 1; j <= n; j++)
      if (can[i - 1][j][0] || mat[i - 1][j]) can[i][j][0] = 1;
  for (int i = 1; i <= n; i++)
    for (int j = 2; j <= n; j++)
      if (can[i][j - 1][1] || mat[i][j - 1]) can[i][j][1] = 1;
  for (int i = 1; i <= n; i++)
    for (int j = n - 1; j >= 1; j--)
      if (can[i][j + 1][2] || mat[i][j + 1]) can[i][j][2] = 1;
  for (int i = n - 1; i >= 1; i--)
    for (int j = 1; j <= n; j++)
      if (can[i + 1][j][3] || mat[i + 1][j]) can[i][j][3] = 1;
}
bool OK(int x, int y) {
  if (x < 1 || y < 1 || x > n || y > n) return 0;
  return 1;
}
void fill(int x, int y) {
  queue<pair<int, int> > Q;
  Q.push({x, y});
  viz[x][y] = 1;
  while (!Q.empty()) {
    pair<int, int> crt = Q.front();
    Q.pop();
    for (int i = 0; i < 4; i++) {
      int X = crt.first + dx[i];
      int Y = crt.second + dy[i];
      if (OK(X, Y) && can[crt.first][crt.second][i]) {
        Q.push({X, Y});
        viz[X][Y] = 1;
      }
    }
  }
}
string ans;
char dir[] = "ULRD";
char dir2[] = "DRLU";
bool _can(int x, int y, int k) {
  x += dx[k];
  y += dy[k];
  while (OK(x, y)) {
    if (mat[x][y] == 1) return 1;
    x += dx[k];
    y += dy[k];
  }
  return 0;
}
void dfs(int x, int y, bool up) {
  if (up && mat[x][y] == 0) {
    mat[x][y] = 1;
    ans += '1';
  }
  viz[x][y] = 1;
  for (int i = 0; i < 4; i++) {
    int X = x + dx[i];
    int Y = y + dy[i];
    if (OK(X, Y) && _can(x, y, i) && !viz[X][Y]) {
      ans.push_back(dir[i]);
      dfs(X, Y, up);
      ans.push_back(dir2[i]);
    }
  }
  if (!up && mat[x][y] == 1) {
    mat[x][y] = 0;
    ans += '2';
  }
}
int main() {
  ios::sync_with_stdio(false);
  cin >> n >> xst >> yst;
  for (int i = 1; i <= n; i++) {
    for (int j = 1; j <= n; j++) {
      cin >> mat[i][j];
    }
  }
  dfs(xst, yst, 1);
  memset(viz, 0, sizeof(viz));
  dfs(xst, yst, 0);
  for (int i = 1; i <= n; i++)
    for (int j = 1; j <= n; j++) {
      if (mat[i][j] == 1) {
        cout << "NO\n";
        return 0;
      }
    }
  cout << "YES\n";
  cout << ans << '\n';
  return 0;
}