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

Solution:
#include <bits/stdc++.h>
using std::make_pair;
using std::pair;
const int N = 60;
const int M = N * N;
bool visited[M];
int values[M];
int n;
std::vector<std::pair<int, int>> neighbors[M];
int get_id(int x, int y) { return (x - 1) * n + y; }
std::pair<int, int> decode(int id) {
  int x = (id + n - 1) / n;
  int y = id % n;
  if (y == 0) y = n;
  return std::make_pair(x, y);
}
int base_ask(int x1, int y1, int x2, int y2) {
  std::cout << "? " << x1 << " " << y1 << " " << x2 << " " << y2 << std::endl;
  int result;
  std::cin >> result;
  return result;
}
void add_edge(int u, int v, int r) {
  neighbors[u].push_back(std::make_pair(v, r));
  neighbors[v].push_back(std::make_pair(u, r));
}
void ask(int x1, int y1, int x2, int y2) {
  if (x2 > n || y2 > n) return;
  if (x2 == n && y2 == n) return;
  int result = base_ask(x1, y1, x2, y2);
  add_edge(get_id(x1, y1), get_id(x2, y2), result);
}
void dfs(int id) {
  if (visited[id]) return;
  visited[id] = true;
  for (auto p : neighbors[id]) {
    int v = p.first;
    int r = p.second;
    if (visited[v]) continue;
    values[v] = values[id] ^ r ^ 1;
    dfs(v);
  }
}
bool find_routes(int x, int y, std::vector<int>& routes) {
  routes.push_back(get_id(x, y));
  if (routes.size() == 4) {
    bool r1 = values[routes[0]] == values[routes[2]];
    bool r2 = values[routes[1]] == values[routes[3]];
    if (r1 == r2) {
      return true;
    }
  } else {
    if (x + 1 <= n && find_routes(x + 1, y, routes)) {
      return true;
    }
    if (y + 1 <= n && find_routes(x, y + 1, routes)) {
      return true;
    }
  }
  routes.pop_back();
  return false;
}
void run(int case_id = 0) {
  std::cin >> n;
  for (int x = 1; x <= n; ++x) {
    for (int y = 1; y <= n; ++y) {
      ask(x, y, x, y + 2);
      if ((x + y) % 2 == 0 && y == 1) {
        ask(x, y, x + 2, y);
        ask(x, y, x + 1, y + 1);
      } else if ((x + y) % 2 == 1 && y <= 2) {
        ask(x, y, x + 1, y + 1);
      }
    }
  }
  values[get_id(1, 1)] = 1;
  values[get_id(1, 2)] = -1;
  dfs(get_id(1, 1));
  dfs(get_id(1, 2));
  bool valid = false;
  for (int x = 1; x <= n && !valid; ++x) {
    for (int y = 1; y <= n && !valid; ++y) {
      std::vector<int> v;
      if (find_routes(x, y, v)) {
        auto p0 = decode(v[0]);
        auto p3 = decode(v[3]);
        int r = base_ask(p0.first, p0.second, p3.first, p3.second);
        add_edge(v[0], v[3], r);
        valid = true;
        break;
      }
    }
  }
  assert(valid);
  memset(visited, 0, sizeof(visited));
  memset(values, 0, sizeof(values));
  values[get_id(1, 1)] = 1;
  values[get_id(n, n)] = 0;
  dfs(get_id(1, 1));
  dfs(get_id(n, n));
  std::cout << "!" << std::endl;
  for (int i = 1; i <= n; ++i) {
    for (int j = 1; j <= n; ++j) {
      std::cout << values[get_id(i, j)];
    }
    std::cout << "\n";
  }
  std::cout.flush();
}
int main() {
  std::ios::sync_with_stdio(false);
  run();
  return 0;
}