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 JAVA):

Solution:
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.Collections;
import java.util.PriorityQueue;
import java.util.StringTokenizer;

public class E_209 {
	static BufferedReader stdin = new BufferedReader(new InputStreamReader(System.in));
	static StringTokenizer st = new StringTokenizer("");
	static StringBuilder s = new StringBuilder();
	static boolean[][] t;
	static boolean[][][] v;
	static ArrayList<PriorityQueue<Integer>> rowMin = new ArrayList();
	static ArrayList<PriorityQueue<Integer>> rowMax = new ArrayList();
	static ArrayList<PriorityQueue<Integer>> colMin = new ArrayList();
	static ArrayList<PriorityQueue<Integer>> colMax = new ArrayList();
	static int c = 0;
	static char[] a;
	
	public static void main(String[] args) throws Exception {
		int n = readInt();
		int y = readInt()-1;
		int x = readInt()-1;
		
		t = new boolean[n][n];
		v = new boolean[n][n][4];
		for(int i = 0; i < n; ++i) {
			rowMin.add(new PriorityQueue());
			rowMax.add(new PriorityQueue(1, Collections.reverseOrder()));
			colMin.add(new PriorityQueue());
			colMax.add(new PriorityQueue(1, Collections.reverseOrder()));
		}
		a = new char[] {'U','R','D','L'};
		for(int i = 0; i < n; ++i)
			for(int j = 0; j < n; ++j)
				if(readInt() == 1)
					light(j, i);
		
		if(!t[x][y])
			on(x, y);
		int d = 4;
		while(true) {
			int d2 = dir(x, y, d);
			if(d2 == 4)
				break;
			if(d != d2 && !t[x][y])
				on(x, y);
			d = d2;
			int[] pos = next(x, y, d);
			v[x][y][d] = true;
			if(v[pos[0]][pos[1]][(d+2)%4] && t[x][y])
				off(x, y);
			s.append(a[d]);
			x = pos[0];
			y = pos[1];
		}
		
		off(x, y);
		if(c == 0) {
			System.out.println("YES");
			System.out.println(s);
		} else
			System.out.println("NO");
	}
	
	static void on(int x, int y) {
		light(x, y);
		s.append(1);
	}
	
	static void off(int x, int y) {
		dark(x, y);
		s.append(2);
	}
	
	static int[] next(int x, int y, int d) {
		int[] pos = {x,y};
		if(d == 0)
			pos[1]--;
		if(d == 1)
			pos[0]++;
		if(d == 2)
			pos[1]++;
		if(d == 3)
			pos[0]--;
		return pos;
	}
	
	static int dir(int x, int y, int d) {
		d = (d+1)%4;
		for(int i = 0; i < 4; ++i) {
			int[] pos = next(x, y, d);
			if(pos[0] >= 0 && pos[0] < v.length && pos[1] >= 0 && pos[1] < v[0].length && (!visited(pos[0], pos[1]) || v[pos[0]][pos[1]][(d+2)%4])) {
				if(d == 0 && !colMin.get(x).isEmpty() && colMin.get(x).peek() < y)
					return d;
				if(d == 1 && !rowMax.get(y).isEmpty() && rowMax.get(y).peek() > x)
					return d;
				if(d == 2 && !colMax.get(x).isEmpty() && colMax.get(x).peek() > y)
					return d;
				if(d == 3 && !rowMin.get(y).isEmpty() && rowMin.get(y).peek() < x)
					return d;
			}
			d = (d+3)%4;
		}
		return 4;
	}
	
	static boolean visited(int x, int y) {
		for(int d = 0; d < 4; ++d)
			if(v[x][y][d])
				return true;
		return false;
	}
	
	static void light(int x, int y) {
		t[x][y] = true;
		rowMin.get(y).add(x);
		rowMax.get(y).add(x);
		colMin.get(x).add(y);
		colMax.get(x).add(y);
		++c;
	}
	
	static void dark(int x, int y) {
		t[x][y] = false;
		while(!rowMin.get(y).isEmpty() && !t[rowMin.get(y).peek()][y])
			rowMin.get(y).poll();
		while(!rowMax.get(y).isEmpty() && !t[rowMax.get(y).peek()][y])
			rowMax.get(y).poll();
		while(!colMin.get(x).isEmpty() && !t[x][colMin.get(x).peek()])
			colMin.get(x).poll();
		while(!colMax.get(x).isEmpty() && !t[x][colMax.get(x).peek()])
			colMax.get(x).poll();
		--c;
	}

	static String readString() throws Exception {
		while(!st.hasMoreTokens())
			st = new StringTokenizer(stdin.readLine());
		return st.nextToken();
	}
	static int readInt() throws Exception {
		return Integer.parseInt(readString());
	}
}