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;
struct outFloat {
  int precision;
  long double value;
  outFloat(long double v, int p) : precision(p), value(v) {}
};
template <typename T>
struct debugInfo {
  string name;
  T val;
  debugInfo(const char* n, T v) : name(n), val(v){};
};
template <typename T>
debugInfo<T> makeDebugInfo(const char* n, T v) {
  return debugInfo<T>(n, v);
}
const int inf = 123456789;
const long long llInf = 123456789012345678LL;
const long double pi = 3.14159265358979323846;
const int maxN = 2000000;
template <typename T1, typename T2>
istream& operator>>(istream& is, pair<T1, T2>& p) {
  is >> p.first >> p.second;
  return is;
}
template <typename T>
istream& operator>>(istream& is, vector<T>& p) {
  for (int i = 0; i < p.size(); i++) is >> p[i];
  return is;
}
class inputer {
 private:
  istream* istr;

 public:
  inputer(istream& is) : istr(&is) {}
  template <typename T>
  void get(T& n) {
    (*istr) >> n;
  }
  template <typename T, typename... Args>
  void get(T& n, Args&... args) {
    get(n);
    get(args...);
  }
  template <typename... Args>
  void getLn(Args&... args) {
    get(args...);
    getLn();
  }
  template <typename T>
  operator T() {
    T n;
    get(n);
    return n;
  }
  void getLn() {
    string s;
    getline(cin, s);
  }
  template <typename T>
  void getv(vector<T>& v, int size) {
    v.resize(size);
    (*istr) >> v;
  }
};
string delim = " ";
template <typename T1, typename T2>
ostream& operator<<(ostream& os, const pair<T1, T2>& p) {
  os << p.first << delim << p.second;
  return os;
}
template <typename T>
ostream& operator<<(ostream& os, const vector<T>& p) {
  for (int i = 0; i < p.size(); i++) {
    if (i != 0) os << delim;
    os << p[i];
  }
  return os;
}
ostream& operator<<(ostream& os, const outFloat& of) {
  os << setprecision(of.precision) << of.value;
  return os;
}
template <typename T>
ostream& operator<<(ostream& os, const debugInfo<T>& dbg) {
  os << "\"" << dbg.name << "\" = \"" << dbg.val << "\""
     << "\n";
}
class outputer {
 private:
  ostream* ostr;

 public:
  outputer(ostream& os) : ostr(&os) {}
  template <typename T>
  void put(const T& n) {
    (*ostr) << n;
  }
  template <typename T, typename... Args>
  void put(const T& n, const Args&... args) {
    put(n);
    put(args...);
  }
  template <typename... Args>
  void putLn(const Args&... args) {
    put(args...);
    putLn();
  }
  template <typename T>
  outputer& operator=(const T& n) {
    putLn(n);
    return *this;
  }
  void putLn() { (*ostr) << "\n"; }
  template <typename T>
  void putv(vector<T> v, int size, string delim) {
    for (int i = 0; i < size; i++) {
      if (i != 0) (*ostr) << delim;
      (*ostr) << v[i];
    }
  }
};
inputer in(cin);
outputer out(cout);
char getChar() {
  char c = 0;
  while (c <= ' ') cin >> c;
  return c;
}
bool willItBeAC() {
  return true;
  ;
}
int getMyRating() { return 2048; }
bool prime(long long n) {
  for (long long i = 2; i * i <= n; i++)
    if (n % i == 0) return false;
  return true;
}
vector<long long> divs(long long n) {
  vector<long long> v;
  long long i = 2;
  while (i * i <= n)
    if (n % i == 0) {
      n /= i;
      v.push_back(i);
    } else
      i++;
  v.push_back(n);
  return v;
}
long long gcd(long long a, long long b) { return b ? gcd(b, a % b) : a; }
long long extGcd(long long a, long long b, long long& x, long long& y) {
  if (a == 0) {
    x = 0;
    y = 1;
    return b;
  }
  long long x1, y1, d = extGcd(b % a, a, x1, y1);
  x = y1 - (b / a) * x1;
  y = x1;
  return d;
}
template <typename T>
class fenwick {
 private:
  vector<T> t;
  int n;

 public:
  fenwick(int nn) { init(nn); }
  void init(int nn) {
    n = nn;
    t.assign(n, 0);
  }
  T sum(int r) {
    T result = 0;
    for (; r >= 0; r = (r & (r + 1)) - 1) result += t[r];
    return result;
  }
  void inc(int i, T delta) {
    for (; i < n; i = (i | (i + 1))) t[i] += delta;
  }
  T sum(int l, int r) { return sum(r) - sum(l - 1); }
  T get(int i) { return sum(i, i); }
  void put(int i, T v) { inc(i, v - sum(i, i)); }
  int size() { return n; }
};
int n = in;
int getAns(int l1, int r1, int l2, int r2) {
  if (l1 > l2 || r1 > r2) return 0;
  out.putLn("? ", l1, ' ', r1, ' ', l2, ' ', r2);
  cout.flush();
  return (int)in;
}
void tryAns(int _x1, int _y1, int _x2, int _y2, int _x3, int _y3, int _x4,
            int _y4) {
  out.putLn("! ", _x1, " ", _y1, " ", _x2, " ", _y2, " ", _x3, " ", _y3, " ",
            _x4, " ", _y4);
  cout.flush();
}
int checkR(int v) { return getAns(1, 1, v, n); }
int checkL(int v) { return getAns(n - v + 1, 1, n, n); }
int checkU(int v) { return getAns(1, 1, n, v); }
int checkD(int v) { return getAns(1, n - v + 1, n, n); }
template <typename T>
int binsearch_beg(int l, int r, int num, T checker) {
  while (l < r) {
    int m = (l + r) / 2;
    if (checker(m) == num)
      r = m;
    else
      l = m + 1;
  }
  return l;
}
template <typename T>
void binsearch_all(int l, int r, int& r1, int& r2, T checker) {
  if (l == r) {
    r1 = r2 = l;
    return;
  }
  int m = (l + r) / 2;
  int cnt = checker(m);
  if (cnt == 0) binsearch_all(m + 1, r, r1, r2, checker);
  if (cnt == 1) {
    r1 = binsearch_beg(l, m, 1, checker);
    r2 = binsearch_beg(m + 1, r, 2, checker);
  }
  if (cnt == 2) binsearch_all(l, m, r1, r2, checker);
}
int main() {
  int rx1, rx2, lx1, lx2, ly1, ly2, ry1, ry2;
  binsearch_all(1, n, rx1, rx2, checkR);
  binsearch_all(1, n, lx1, lx2, checkL);
  binsearch_all(1, n, ry1, ry2, checkU);
  binsearch_all(1, n, ly1, ly2, checkD);
  lx1 = n - lx1 + 1;
  lx2 = n - lx2 + 1;
  ly1 = n - ly1 + 1;
  ly2 = n - ly2 + 1;
  if (getAns(lx1, 1, rx1, n) == 0) swap(lx1, lx2);
  if (getAns(1, ly1, n, ry1) == 0) swap(ly1, ly2);
  if (getAns(lx1, ly1, rx1, ry1) == 0) {
    swap(lx1, lx2);
    swap(rx1, rx2);
  }
  tryAns(lx1, ly1, rx1, ry1, lx2, ly2, rx2, ry2);
  return 0;
}