Problem: Filya just learned new geometry object — rectangle. He is given a field consisting of n × n unit cells. Rows are numbered from bottom to top with integer from 1 to n. Columns are numbered from left to right with integers from 1 to n. Cell, located at the intersection of the row r and column c is denoted as (r, c). Filya has painted two rectangles, such that their sides are parallel to coordinate axes and each cell lies fully inside or fully outside each of them. Moreover, no cell lies in both rectangles.

Later, hedgehog Filya became interested in the location of his rectangles but was unable to find the sheet of paper they were painted on. They were taken by Sonya and now she wants to play a little game with Filya. He tells her a query rectangle and she replies with the number of initial rectangles that lie fully inside the given query rectangle. The query rectangle should match the same conditions as initial rectangles. Rectangle lies fully inside the query if each o its cells lies inside the query.

Filya knows Sonya really well, so is sure that if he asks more than 200 questions she will stop to reply.

Input

The first line of the input contains an integer n (2 ≤ n ≤ 216) — size of the field.

For each query an integer between 0 and 2 is returned — the number of initial rectangles that lie fully inside the query rectangle.

Output

To make a query you have to print "? x1 y1 x2 y2" (without quotes) (1 ≤ x1 ≤ x2 ≤ n, 1 ≤ y1 ≤ y2 ≤ n), where (x1, y1) stands for the position of the bottom left cell of the query and (x2, y2) stands for the up right cell of the query. You are allowed to ask no more than 200 queries. After each query you should perform "flush" operation and read the answer.

In case you suppose you've already determined the location of two rectangles (or run out of queries) you should print "! x11 y11 x12 y12 x21 y21 x22 y22" (without quotes), where first four integers describe the bottom left and up right cells of the first rectangle, and following four describe the corresponding cells of the second rectangle. You can print the rectangles in an arbitrary order. After you have printed the answer, print the end of the line and perform "flush". Your program should terminate immediately after it print the answer.

Interaction

To flush you can use (just after printing an integer and end-of-line): 

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



You will get the Wrong Answer verdict if you ask more than 200 queries, or if you print an incorrect coordinates.

You will get the Idleness Limit Exceeded verdict if you don't print anything (but you should) or if you forget about flushing the output (more info below).

Hacking.

The first line should contain an integer n (2 ≤ n ≤ 216).

The second line should contain four integers x1, y1, x2, y2 (1 ≤ x1 ≤ x2 ≤ n, 1 ≤ y1 ≤ y2 ≤ n) — the description of the first rectangle.

The third line contains the description of the second rectangle in the similar way.

Example

Input

5
2
1
0
1
1
1
0
1


Output

? 1 1 5 5
? 1 1 3 3
? 1 1 3 1
? 2 2 2 2
? 3 3 5 5
? 3 3 3 5
? 3 3 3 4
? 3 4 3 5
! 2 2 2 2 3 4 3 5

Solution (in CPP):

Solution:
#include <bits/stdc++.h>
using namespace std;
pair<pair<int, int>, pair<int, int> > R1(pair<int, int>(2, 2),
                                         pair<int, int>(2, 2));
pair<pair<int, int>, pair<int, int> > R2(pair<int, int>(3, 4),
                                         pair<int, int>(3, 5));
int isInside(pair<pair<int, int>, pair<int, int> > A,
             pair<pair<int, int>, pair<int, int> > B) {
  return A.first.first <= B.first.first && B.second.first <= A.second.first &&
         A.first.second <= B.first.second && B.second.second <= A.second.second;
}
int count(pair<pair<int, int>, pair<int, int> > A) {
  pair<int, int> lo = A.first, hi = A.second;
  cout << "? " << lo.first << " " << lo.second << " " << hi.first << " "
       << hi.second << '\n';
  fflush(stdout);
  int ans;
  cin >> ans;
  return ans;
  return isInside(A, R1) + isInside(A, R2);
}
int n;
int f(int flagX, int flagY, int r) {
  pair<int, int> lo(1, 1), hi(n, n);
  if (flagX == 1) {
    hi.first = r;
  } else if (flagX == 2) {
    lo.first = n - r + 1;
  }
  if (flagY == 1) {
    hi.second = r;
  } else if (flagY == 2) {
    lo.second = n - r + 1;
  }
  return count(pair<pair<int, int>, pair<int, int> >(lo, hi));
}
vector<int> X, Y;
void insert(int flagX, int flagY, int r) {
  if (flagY == 0) {
    if (flagX == 1)
      X.push_back(r);
    else
      X.push_back(n - r);
  } else {
    if (flagY == 1)
      Y.push_back(r);
    else
      Y.push_back(n - r);
  }
}
int bSearch(int flagX, int flagY, int target) {
  int lo = 1, hi = n;
  if (f(flagX, flagY, lo) >= target) {
    insert(flagX, flagY, lo);
    return lo;
  }
  while (hi - lo > 1) {
    int med = (lo + hi) >> 1;
    if (f(flagX, flagY, med) >= target)
      hi = med;
    else
      lo = med;
  }
  insert(flagX, flagY, hi);
  return hi;
}
void fix(vector<int> &v) {
  sort(v.begin(), v.end());
  v.resize(unique(v.begin(), v.end()) - v.begin());
}
int Q[5][5][5][5];
int main() {
  while (cin >> n) {
    bSearch(1, 0, 1);
    bSearch(1, 0, 2);
    bSearch(2, 0, 1);
    bSearch(2, 0, 2);
    bSearch(0, 1, 1);
    bSearch(0, 1, 2);
    bSearch(0, 2, 1);
    bSearch(0, 2, 2);
    fix(X);
    fix(Y);
    for (int i2 = 0; i2 < ((int)X.size()); ++i2)
      for (int i1 = 0; i1 < i2; ++i1)
        for (int j2 = 0; j2 < ((int)Y.size()); ++j2)
          for (int j1 = 0; j1 < j2; ++j1) {
            pair<pair<int, int>, pair<int, int> > cur =
                pair<pair<int, int>, pair<int, int> >(
                    make_pair(X[i1] + 1, Y[j1] + 1), make_pair(X[i2], Y[j2]));
            Q[i2][i1][j2][j1] = (count(cur) == 1);
          }
    long long mini = LLONG_MAX;
    pair<pair<int, int>, pair<int, int> > rect1;
    for (int i2 = 0; i2 < ((int)X.size()); ++i2)
      for (int i1 = 0; i1 < i2; ++i1)
        for (int j2 = 0; j2 < ((int)Y.size()); ++j2)
          for (int j1 = 0; j1 < j2; ++j1) {
            pair<pair<int, int>, pair<int, int> > cur =
                pair<pair<int, int>, pair<int, int> >(
                    make_pair(X[i1] + 1, Y[j1] + 1), make_pair(X[i2], Y[j2]));
            if (Q[i2][i1][j2][j1]) {
              long long S =
                  (long long)(X[i2] - X[i1] + 2) * (Y[j2] - Y[j1] + 2);
              if (S < mini) {
                mini = S;
                rect1 = cur;
              }
            }
          }
    mini = LLONG_MAX;
    pair<pair<int, int>, pair<int, int> > rect2;
    for (int i2 = 0; i2 < ((int)X.size()); ++i2)
      for (int i1 = 0; i1 < i2; ++i1)
        for (int j2 = 0; j2 < ((int)Y.size()); ++j2)
          for (int j1 = 0; j1 < j2; ++j1) {
            pair<pair<int, int>, pair<int, int> > cur =
                pair<pair<int, int>, pair<int, int> >(
                    make_pair(X[i1] + 1, Y[j1] + 1), make_pair(X[i2], Y[j2]));
            if (Q[i2][i1][j2][j1]) {
              long long S = (long long)(X[i2] - X[i1]) * (Y[j2] - Y[j1]);
              if (S < mini && !isInside(cur, rect1)) {
                mini = S;
                rect2 = cur;
              }
            }
          }
    cout << "!";
    cout << " " << rect1.first.first << " " << rect1.first.second << " "
         << rect1.second.first << " " << rect1.second.second;
    cout << " " << rect2.first.first << " " << rect2.first.second << " "
         << rect2.second.first << " " << rect2.second.second;
    cout << "\n";
    fflush(stdout);
    return 0;
  }
}