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;
typedef pair<long long, long long> ll;
typedef vector<long long> vl;
typedef vector<ll> vll;
typedef vector<vl> vvl;
template <typename T>
ostream &operator<<(ostream &o, vector<T> v) {
  if (v.size() > 0) o << v[0];
  for (unsigned i = 1; i < v.size(); i++) o << " " << v[i];
  return o << "\n";
}
template <typename U, typename V>
ostream &operator<<(ostream &o, pair<U, V> p) {
  return o << "(" << p.first << ", " << p.second << ") ";
}
template <typename T>
istream &operator>>(istream &in, vector<T> &v) {
  for (unsigned i = 0; i < v.size(); i++) in >> v[i];
  return in;
}
template <typename T>
istream &operator>>(istream &in, pair<T, T> &p) {
  in >> p.first;
  in >> p.second;
  return in;
}
vl dx = {0, 0, -1, 1};
vl dy = {-1, 1, 0, 0};
char ch[4] = {'L', 'R', 'U', 'D'};
long long n, x, y, all, sx, sy, used[505][505], gused[505][505], a[505][505];
string ans = "";
inline bool correct(long long nx, long long ny) {
  return (nx >= 0 && nx < n && ny >= 0 & ny < n);
}
void dfs(long long x, long long y) {
  vl cnt(4, 0);
  if (used[x][y]) return;
  used[x][y] = true;
  for (long long i = (0); i < (long long)4; i++) {
    for (long long(k) = 1; (k) < (505); (k)++) {
      long long nx = x + k * dx[i];
      long long ny = y + k * dy[i];
      if (!correct(nx, ny)) break;
      if (a[nx][ny]) {
        cnt[i]++;
        break;
      }
    }
  }
  if (a[x][y] == 0) ans += "1";
  a[x][y] = 1;
  for (long long i = (0); i < (long long)4; i++) {
    long long nx = x + dx[i];
    long long ny = y + dy[i];
    if (correct(nx, ny) and cnt[i] > 0 and !used[nx][ny]) {
      long long redir = i ^ 1;
      ans += ch[i];
      dfs(nx, ny);
      ans += ch[redir];
    }
  }
}
inline void bfs() {
  queue<ll> q;
  q.push(make_pair((sx), (sy)));
  memset(gused, -1, sizeof(gused));
  gused[sx][sy] = 0;
  while (!q.empty()) {
    long long curx = q.front().first;
    long long cury = q.front().second;
    q.pop();
    for (long long i = (0); i < (long long)4; i++) {
      long long nx = curx + dx[i];
      long long ny = cury + dy[i];
      if (correct(nx, ny) and gused[nx][ny] == -1) {
        gused[nx][ny] = gused[curx][cury] + 1;
        q.push(make_pair((nx), (ny)));
      }
    }
  }
}
void dfs2(long long x, long long y) {
  for (long long i = (0); i < (long long)4; i++) {
    long long nx = x + dx[i];
    long long ny = y + dy[i];
    if (correct(nx, ny) and gused[nx][ny] > gused[x][y] and a[nx][ny] == 1) {
      ans += ch[i];
      dfs2(nx, ny);
      ans += ch[i ^ 1];
    }
  }
  ans += "2";
  a[x][y] = 0;
}
int main() {
  long long x, y;
  cin >> n >> x >> y;
  ;
  x--;
  y--;
  sx = x;
  sy = y;
  for (long long i = (0); i < (long long)n; i++)
    for (long long j = (0); j < (long long)n; j++) {
      cin >> a[i][j];
    }
  dfs(x, y);
  for (long long i = (0); i < (long long)n; i++)
    for (long long j = (0); j < (long long)n; j++) {
      if (a[i][j] == 1 and !used[i][j]) {
        cout << "NO";
        return 0;
      }
    }
  bfs();
  dfs2(x, y);
  cout << "YES"
       << "\n";
  cout << ans;
  return 0;
}