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 namespace std;
mt19937 rng(static_cast<unsigned int>(
    chrono::steady_clock::now().time_since_epoch().count()));
template <typename num_t>
inline void add_mod(num_t& a, const long long& b, const int& m) {
  a = (a + b) % m;
  if (a >= m) a -= m;
  if (a < 0) a += m;
}
template <typename num_t>
inline bool update_max(num_t& a, const num_t& b) {
  return a < b ? a = b, true : false;
}
template <typename num_t>
inline bool update_min(num_t& a, const num_t& b) {
  return a > b ? a = b, true : false;
}
template <typename num_t>
num_t gcd(num_t lhs, num_t rhs) {
  return !lhs ? rhs : gcd(rhs % lhs, lhs);
}
template <typename num_t>
num_t pw(num_t n, num_t k, const num_t& mod) {
  if (k == -1) k = mod - 2;
  num_t res = 1;
  for (; k > 0; k >>= 1) {
    if (k & 1) res = 1ll * res * n % mod;
    n = 1ll * n * n % mod;
  }
  return res % mod;
}
const int inf = 1e9 + 7;
const int mod = 998244353;
const long long ll_inf = 9ll * inf * inf + 7;
const int base = 64;
const int maxn = 55;
int color[maxn][maxn];
int ask(int u1, int v1, int u2, int v2) {
  if (u2 < u1 || v2 < v1) {
    swap(u1, u2);
    swap(v1, v2);
  }
  cout << "? " << u1 + 1 << " " << v1 + 1 << " " << u2 + 1 << " " << v2 + 1
       << '\n';
  cout.flush();
  int ans;
  cin >> ans;
  return ans;
}
int rev(int c) {
  if (c <= 1) return 1 - c;
  return 5 - c;
}
void fill_all(int u, int v, int n) {
  for (int i = (0), _b = (n); i < _b; ++i)
    for (int j = (0), _b = (n); j < _b; ++j) {
      if (color[i][j] == u)
        color[i][j] = v;
      else if (color[i][j] == rev(u))
        color[i][j] = rev(v);
    }
  for (int i = (0), _b = (n); i < _b; ++i)
    for (int j = (0), _b = (n); j < _b; ++j)
      if (color[i][j] >= 2) color[i][j] -= 2;
  if (color[0][0] == 0)
    for (int i = (0), _b = (n); i < _b; ++i)
      for (int j = (0), _b = (n); j < _b; ++j) color[i][j] ^= 1;
}
void solve() {
  int n;
  cin >> n;
  for (int i = (0), _b = (n); i < _b; ++i) {
    fill_n(color[i], n, -1);
  }
  color[0][0] = 1;
  color[n - 1][n - 1] = 0;
  color[0][1] = 2;
  vector<pair<int, int>> dir = {{0, 2}, {2, 0}, {1, 1}};
  for (int u = 0; u < n; ++u)
    for (int v = 0; v < n; ++v)
      if (color[u][v] >= 0) {
        for (auto p : dir) {
          for (int t = -1; t < 2; t += 2) {
            int nxt_u = u + t * p.first;
            int nxt_v = v + t * p.second;
            if (nxt_u < n && nxt_v < n && nxt_u >= 0 && nxt_v >= 0 &&
                color[nxt_u][nxt_v] < 0) {
              int temp = ask(u, v, nxt_u, nxt_v);
              if (temp)
                color[nxt_u][nxt_v] = color[u][v];
              else
                color[nxt_u][nxt_v] = rev(color[u][v]);
            }
          }
        }
      }
  bool check = false;
  for (int u = 0; u < n && !check; ++u) {
    for (int v = 0; v < n && !check; ++v) {
      int i = u - 1;
      int j = v + 1;
      if (i >= 0 && j < n && color[u][v] != color[i][j]) {
        check = true;
        int temp = 0, first_color = 0, second_color = 0;
        if (u + 1 < n) {
          temp = ask(u - 1, v, u + 1, v + 1);
          first_color = color[u - 1][v];
          second_color = color[u + 1][v + 1];
        } else if (v + 2 < n) {
          temp = ask(u - 1, v, u, v + 2);
          first_color = color[u - 1][v];
          second_color = color[u][v + 2];
        } else if (v - 1 >= 0) {
          temp = ask(u - 1, v - 1, u, v + 1);
          first_color = color[u - 1][v - 1];
          second_color = color[u][v + 1];
        } else {
          temp = ask(u - 2, v, u, v + 1);
          first_color = color[u - 2][v];
          second_color = color[u][v + 1];
        }
        if (temp == 1) {
          fill_all(first_color, second_color, n);
        } else {
          fill_all(first_color, rev(second_color), n);
        }
      }
    }
  }
  if (!check) {
    struct node {
      int color;
      int row, col;
    };
    vector<node> temp;
    for (int j = (0), _b = (n); j < _b; ++j)
      temp.push_back({color[0][j], 0, j});
    for (int i = (1), _b = (n); i < _b; ++i)
      temp.push_back({color[i][n - 1], i, n - 1});
    for (int i = 0; i + 3 < temp.size(); ++i) {
      int diff_one = abs(temp[i].color - temp[i + 2].color);
      int diff_two = abs(temp[i + 1].color - temp[i + 3].color);
      if (diff_one == diff_two) {
        int cur =
            ask(temp[i].row, temp[i].col, temp[i + 3].row, temp[i + 3].col);
        if (cur == 1) {
          fill_all(temp[i].color, temp[i + 3].color, n);
        } else {
          fill_all(temp[i].color, rev(temp[i + 3].color), n);
        }
        break;
      }
    }
  }
  cout << "!\n";
  for (int i = (0), _b = (n); i < _b; ++i) {
    for (int j = (0), _b = (n); j < _b; ++j) cout << color[i][j];
    cout << '\n';
  }
  cout.flush();
}
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  const bool multiple_test = false;
  int test = 1;
  if (multiple_test) cin >> test;
  for (int i = 0; i < test; ++i) {
    solve();
  }
}