Problem: This is an interactive problem

You are given a grid n× n, where n is odd. Rows are enumerated from 1 to n from up to down, columns are enumerated from 1 to n from left to right. Cell, standing on the intersection of row x and column y, is denoted by (x, y).

Every cell contains 0 or 1. It is known that the top-left cell contains 1, and the bottom-right cell contains 0.

We want to know numbers in all cells of the grid. To do so we can ask the following questions: 

"? x_1 y_1 x_2 y_2", where 1 ≤ x_1 ≤ x_2 ≤ n, 1 ≤ y_1 ≤ y_2 ≤ n, and x_1 + y_1 + 2 ≤ x_2 + y_2. In other words, we output two different cells (x_1, y_1), (x_2, y_2) of the grid such that we can get from the first to the second by moving only to the right and down, and they aren't adjacent.

As a response to such question you will be told if there exists a path between (x_1, y_1) and (x_2, y_2), going only to the right or down, numbers in cells of which form a palindrome.

For example, paths, shown in green, are palindromic, so answer for "? 1 1 2 3" and "? 1 2 3 3" would be that there exists such path. However, there is no palindromic path between (1, 1) and (3, 1).

<image>

Determine all cells of the grid by asking not more than n^2 questions. It can be shown that the answer always exists.

Input

The first line contains odd integer (3 ≤ n < 50) — the side of the grid.

Interaction

You begin the interaction by reading n.

To ask a question about cells (x_1, y_1), (x_2, y_2), in a separate line output "? x_1 y_1 x_2 y_2".

Numbers in the query have to satisfy 1 ≤ x_1 ≤ x_2 ≤ n, 1 ≤ y_1 ≤ y_2 ≤ n, and x_1 + y_1 + 2 ≤ x_2 + y_2. Don't forget to 'flush', to get the answer.

In response, you will receive 1, if there exists a path going from (x_1, y_1) to (x_2, y_2) only to the right or down, numbers in cells of which form a palindrome, and 0 otherwise.

In case your query is invalid or you asked more than n^2 queries, program will print -1 and will finish interaction. You will receive Wrong answer verdict. Make sure to exit immediately to avoid getting other verdicts.

When you determine numbers in all cells, output "!".

Then output n lines, the i-th of which is a string of length n, corresponding to numbers in the i-th row of the grid.

After printing a query do not forget to output end of line and flush the output. Otherwise, you will get Idleness limit exceeded. To do this, use:

  * fflush(stdout) or cout.flush() in C++;
  * System.out.flush() in Java;
  * flush(output) in Pascal;
  * stdout.flush() in Python;
  * see documentation for other languages.



Hack Format

To hack, use the following format.

The first line should contain a single odd integer n (side of your grid).

The i-th of n following lines should contain a string of length n corresponding to the i-th row of the grid. Top left element of the grid has to be equal to 1, bottom right has to be equal to 0.

Example

Input


3
0
1
0
1
1
1
1

Output


? 1 1 1 3
? 1 1 2 3
? 2 1 2 3
? 3 1 3 3
? 2 2 3 3
? 1 2 3 2
? 1 2 3 3
!
100
001
000

Solution (in JAVA):

Solution:
import java.io.*;
import java.util.*;

public class E implements Runnable {
	public static void main (String[] args) {new Thread(null, new E(), "_cf", 1 << 28).start();}

	public void run() {
		FastScanner fs = new FastScanner();
		PrintWriter out = new PrintWriter(System.out);
		System.err.println("");

		int n = fs.nextInt();
		int[][] vals = new int[n][n];
		for(int[] v : vals) Arrays.fill(v, -1);
		vals[0][0] = 1;
		vals[n-1][n-1] = 0;
		int[] dx = {2, 1, 0};
		int[] dy = {0, 1, 2};
		for(int i = 0; i < n; i++) {
			for(int j = 0; j < n; j++) {
				if((i+j)%2 == 1) continue;
				for(int k = 0; k < dx.length; k++) {
					int nx = i+dx[k];
					int ny = j+dy[k];
					if(nx >= n || ny >= n) continue;
					if(vals[nx][ny] != -1) continue;
					ask(i, j, nx, ny);
					int ret = fs.nextInt();
					vals[nx][ny] = vals[i][j]^ret^1;
				}
			}
		}

		vals[0][1] = 1; //temp
		for(int i = 0; i < n; i++) {
			int start = 1;
			int delta = 2;
			if(i % 2 == 1) {
				delta = -delta;
				start = n-1;
			}
			for(int j = start; j < n && j >= 0; j += delta) {
				if(delta > 0) {
					if(j+2 < n) {
						ask(i, j, i, j+2);
						int ret = fs.nextInt();
						vals[i][j+2] = vals[i][j]^ret^1;
					}
					else {
						if(i+1 < n && j+1 < n) {
							ask(i, j, i+1, j+1);
							int ret = fs.nextInt();
							vals[i+1][j+1] = vals[i][j]^ret^1;
						}
					}
				}
				else {
					if(j-2 >= 0) {
						ask(i, j, i, j-2);
						int ret = fs.nextInt();
						vals[i][j-2] = vals[i][j]^ret^1;
					}
					else {
						if(i+1 < n && j+1 < n) {
							ask(i, j, i+1, j+1);
							int ret = fs.nextInt();
							vals[i+1][j+1] = vals[i][j]^ret^1;
						}
					}
				}
			}
		}
		
//		System.out.println("fuck life");
//		for(int[] vv : vals) System.out.println(Arrays.toString(vv));
//		System.out.println();

		int[][] newVals = new int[n][n];
		int si = -1, sj = -1;
		all:
			for(int target = 0; target < 2; target++) {
				for(int i = 0; i < n; i++) {
					for(int j = 0; j < n; j++) {
						if((i+j)%2 != target) continue;
						if(j+3 < n) {
							int xor = vals[i][j] ^ vals[i][j+1] ^ vals[i][j+2] ^ vals[i][j+3];
							if(xor == 0) {
								ask(i, j, i, j+3);
								int ret = fs.nextInt();
								if(ret == 1) {
									if(target == 0) {
										newVals[i][j+3] = vals[i][j];
									}
									else {
										newVals[i][j] = vals[i][j+3];
									}
								}
								else {
									if(target == 0) {
										newVals[i][j+3] = vals[i][j]^1;
									}
									else {
										newVals[i][j] = vals[i][j+3]^1;
									}
								}
								if(target == 0) {
									si = i; sj = j+3;
								}
								else {
									si = i; sj = j;
								}
								break all;
							}
						}
						if(i+1 < n && j+2 < n) {
							int xor = vals[i][j] ^ vals[i][j+1] ^ vals[i][j+2] ^ vals[i+1][j+2];
							int xor2 = vals[i][j] ^ vals[i+1][j] ^ vals[i+1][j+1] ^ vals[i+1][j+2];
							if(xor == 0 || xor2 == 0) {
								ask(i, j, i+1, j+2);
								int ret = fs.nextInt();
								if(ret == 1) {
									if(target == 0) {
										newVals[i+1][j+2] = vals[i][j];
									}
									else {
										newVals[i][j] = vals[i+1][j+2];
									}
								}
								else {
									if(target == 0) {
										newVals[i+1][j+2] = vals[i][j]^1;
									}
									else {
										newVals[i][j] = vals[i+1][j+2]^1;
									}
								}
								if(target == 0) {
									si = i+1; sj = j+2;
								}
								else {
									si = i; sj = j;
								}
								break all;
							}
						}
						if(i+2 < n && j+1 < n) {
							int xor = vals[i][j] ^ vals[i][j+1] ^ vals[i+1][j+1] ^ vals[i+2][j+1];
							int xor2 = vals[i][j] ^ vals[i+1][j] ^ vals[i+2][j] ^ vals[i+2][j+1];
							if(xor == 0 || xor2 == 0) {
								ask(i, j, i+2, j+1);
								int ret = fs.nextInt();
								if(ret == 1) {
									if(target == 0) {
										newVals[i+2][j+1] = vals[i][j];
									}
									else {
										newVals[i][j] = vals[i+2][j+1];
									}
								}
								else {
									if(target == 0) {
										newVals[i+2][j+1] = vals[i][j]^1;
									}
									else {
										newVals[i][j] = vals[i+2][j+1]^1;
									}
								}
								if(target == 0) {
									si = i+2; sj = j+1;
								}
								else {
									si = i; sj = j;
								}
								break all;
							}
						}
						if(i+3 < n) {
							int xor = vals[i][j] ^ vals[i+1][j] ^ vals[i+2][j] ^ vals[i+3][j];
							if(xor == 0) {
								ask(i, j, i+3, j);
								int ret = fs.nextInt();
								if(ret == 1) {
									if(target == 0) {
										newVals[i+3][j] = vals[i][j];
									}
									else {
										newVals[i][j] = vals[i+3][j];
									}
								}
								else {
									if(target == 0) {
										newVals[i+3][j] = vals[i][j]^1;
									}
									else {
										newVals[i][j] = vals[i+3][j]^1;
									}
								}
								if(target == 0) {
									si = i+3; sj = j;
								}
								else {
									si = i; sj = j;
								}
								break all;
							}
						}
					}
				}
			}


//		for(int[] x : vals) System.out.println(Arrays.toString(x));


		if(si == -1) throw new RuntimeException("fuck");
		int[][] res = new int[n][n];
		for(int i = 0; i < n; i++) {
			for(int j = 0; j < n; j++) {
				if((i+j)%2 == 0) res[i][j] = vals[i][j];
				else {
					res[i][j] = -1;
					if(si == i && sj == j) {
						res[i][j] = newVals[i][j];
					}
				}
			}
		}

		//		System.out.println(si + " " + sj);
		//		for(int [] x : res) System.out.println(Arrays.toString(x));
		//		System.out.println();
		//		for(int[] x : vals) System.out.println(Arrays.toString(x));


		int[] dx2 = {-1, -2, -1, 0, 1, 2, 1, 0};
		int[] dy2 = {-1, 0, 1, 2, 1, 0, -1, -2};

		ArrayDeque<Integer> dq = new ArrayDeque<>();
		dq.add(si); dq.add(sj);
		while(!dq.isEmpty()) {
			int x = dq.pollFirst();
			int y = dq.pollFirst();
			for(int k = 0; k < dx2.length; k++) {
				int nx = dx2[k]+x;
				int ny = dy2[k]+y;
				if(nx < 0 || ny < 0 || nx >= n || ny >= n) continue;
				if(res[nx][ny] != -1) continue;
				if(vals[nx][ny] == vals[x][y]) {
					res[nx][ny] = res[x][y];
				}
				else {
					res[nx][ny] = res[x][y]^1;
				}
				dq.add(nx); dq.add(ny);
			}
		}
		System.out.println("!");
		for(int i = 0; i < n; i++) {
			for(int j = 0; j < n; j++) {
				System.out.print(res[i][j]);
			}
			System.out.println();
		}
		System.out.flush();
		out.close();
	}

	void ask(int i1, int j1, int i2, int j2) {
		if(i1 > i2) {
			int ti1 = i1, ti2 = i2;
			int tj1 = j1, tj2 = j2;
			i1 = ti2; j1 = tj2; i2 = ti1; j2 = tj1;
		}
		else if(i1 == i2 && j1 > j2) {
			int ti1 = i1, ti2 = i2;
			int tj1 = j1, tj2 = j2;
			i1 = ti2; j1 = tj2; i2 = ti1; j2 = tj1;
		}
		System.out.printf("? %d %d %d %d\n", i1+1, j1+1, i2+1, j2+1);
		System.out.flush();
	}

	class FastScanner {
		public int BS = 1<<16;
		public char NC = (char)0;
		byte[] buf = new byte[BS];
		int bId = 0, size = 0;
		char c = NC;
		double num = 1;
		BufferedInputStream in;

		public FastScanner() {
			in = new BufferedInputStream(System.in, BS);
		}

		public FastScanner(String s) {
			try {
				in = new BufferedInputStream(new FileInputStream(new File(s)), BS);
			}
			catch (Exception e) {
				in = new BufferedInputStream(System.in, BS);
			}
		}

		public char nextChar(){
			while(bId==size) {
				try {
					size = in.read(buf);
				}catch(Exception e) {
					return NC;
				}                
				if(size==-1)return NC;
				bId=0;
			}
			return (char)buf[bId++];
		}

		public int nextInt() {
			return (int)nextLong();
		}

		public long nextLong() {
			num=1;
			boolean neg = false;
			if(c==NC)c=nextChar();
			for(;(c<'0' || c>'9'); c = nextChar()) {
				if(c=='-')neg=true;
			}
			long res = 0;
			for(; c>='0' && c <='9'; c=nextChar()) {
				res = (res<<3)+(res<<1)+c-'0';
				num*=10;
			}
			return neg?-res:res;
		}

		public double nextDouble() {
			double cur = nextLong();
			return c!='.' ? cur:cur+nextLong()/num;
		}

		public String next() {
			StringBuilder res = new StringBuilder();
			while(c<=32)c=nextChar();
			while(c>32) {
				res.append(c);
				c=nextChar();
			}
			return res.toString();
		}

		public String nextLine() {
			StringBuilder res = new StringBuilder();
			while(c<=32)c=nextChar();
			while(c!='\n') {
				res.append(c);
				c=nextChar();
			}
			return res.toString();
		}

		public boolean hasNext() {
			if(c>32)return true;
			while(true) {
				c=nextChar();
				if(c==NC)return false;
				else if(c>32)return true;
			}
		}

		public int[] nextIntArray(int n) {
			int[] res = new int[n];
			for(int i = 0; i < n; i++) res[i] = nextInt();
			return res;
		}

	}

}