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

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

public class ProblemD {
  
  public static void main(String[] args) throws IOException {
    init();
    new ProblemD().run();
    out.flush();
    out.close();
  }
  
  static void init() throws IOException {
    in = new StreamTokenizer(new BufferedReader(new InputStreamReader(System.in)));
    out = new PrintWriter(new OutputStreamWriter(System.out));
    in.ordinaryChars(0, 65535);
    in.wordChars(0, 65535);
    in.whitespaceChars(' ', ' ');
    in.whitespaceChars('\n', '\n');
    in.whitespaceChars('\r', '\r');
  }
  
  // класс для пар
  class Pair<L, R> {
    private final L X;
    private final R Y;
    
    public Pair(L X, R Y) {
      this.X = X;
      this.Y = Y;
    }
    
    public L getX() {
      return X;
    }
    
    public R getY() {
      return Y;
    }
    
    @Override
    public int hashCode() {
      return X.hashCode() ^ Y.hashCode();
    }
    
    @Override
    public boolean equals(Object o) {
      if (!(o instanceof Pair)) return false;
      Pair pairo = (Pair) o;
      return X.equals(pairo.getX()) && Y.equals(pairo.getY());
    }
  }
  
  static final long INFL = 200000000000000000L;
  static final int INF = 2000000000;
  static final boolean DEBUG = true;
  
  static StreamTokenizer in;
  static PrintWriter out;
  
  static void print(String s) {
    print(s, 0);
  }
  
  static void print(String s, int debug) {
    if (debug == 0 || DEBUG) {
      out.print(s);
    }
  }
  
  static void println(String s) {
    println(s, 0);
  }
  
  static void println(String s, int debug) {
    if (debug == 0 || DEBUG) {
      out.println(s);
    }
  }
  
  static void printArray(int[] arr) {
    println(Arrays.toString(arr));
  }
  
  static void printArray(char[] arr) {
    println(Arrays.toString(arr));
  }
  
  static void printArray(String[] arr) {
    println(Arrays.toString(arr));
  }
  
  static void sort(int[] a) {
    Random rnd = new Random();
    for (int i = a.length - 1; i > 0; i--) {
      int index = rnd.nextInt(i);
      a[i] ^= a[index];
      a[index] ^= a[i];
      a[i] ^= a[index];
    }
    Arrays.sort(a);
  }
  
  static char[] inChars;
  static int inCharsInd;
  
  static String next() throws IOException {
    in.nextToken();
    return in.sval;
  }
  
  static char nextChar() throws IOException {
    while (inChars == null || inCharsInd >= inChars.length) {
      inChars = next().toCharArray();
      inCharsInd = 0;
    }
    return inChars[inCharsInd++];
  }
  
  static int nextInt() throws IOException {
    return Integer.valueOf(next());
  }
  
  static double nextDouble() throws IOException {
    return Double.valueOf(next());
  }
  
  static long nextLong() throws IOException {
    return Long.valueOf(next());
  }
  
  private void run() throws IOException {
    solve();
  }
  
  int K, L, M, N, P;
  
  class Rectangle{
    int x1;
    int y1;
    int x2;
    int y2;

    public Rectangle(int x1, int y1, int x2, int y2) {
      this.x1 = x1;
      this.x2 = x2;
      this.y1 = y1;
      this.y2 = y2;
    }

    @Override
    public String toString() {
      return x1 + " " + y1 + " " + x2 + " " + y2;
    }
  }

  private void solve() throws IOException {
    int N = nextInt();
    Rectangle field = new Rectangle(1, 1, N, N);
    search(field);
  }

  private void search(Rectangle field) throws IOException {
    Rectangle[] rect = new Rectangle[8];
    rect[0] = new Rectangle(field.x1, field.y1, (int)Math.ceil((field.x1 + field.x2)/2.0), field.y2);
    rect[1] = new Rectangle(field.x1, field.y1, field.x2, (int)Math.ceil((field.y1 + field.y2)/2.0));
    rect[2] = new Rectangle((int)Math.ceil((field.x1 + field.x2)/2.0), field.y1, field.x2, field.y2);
    rect[3] = new Rectangle(field.x1, (int)Math.ceil((field.y1 + field.y2)/2.0), field.x2, field.y2);
    rect[4] = new Rectangle(field.x1, field.y1, (int)Math.floor((field.x1 + field.x2)/2.0), field.y2);
    rect[5] = new Rectangle(field.x1, field.y1, field.x2, (int)Math.floor((field.y1 + field.y2)/2.0));
    rect[6] = new Rectangle((int)Math.floor((field.x1 + field.x2)/2.0), field.y1, field.x2, field.y2);
    rect[7] = new Rectangle(field.x1, (int)Math.floor((field.y1 + field.y2)/2.0), field.x2, field.y2);
    Rectangle first = null;
    Rectangle second = null;
    int curAnswer;
    for (int i = 0; i < rect.length; i++) {
      curAnswer = askOwl(rect[i]);
      if (curAnswer == 2 && (rect[i].x1 != field.x1 || rect[i].y1 != field.y1 || rect[i].x2 != field.x2 || rect[i].y2 != field.y2)){
        search(rect[i]);
        return;
      } else if (curAnswer == 1){
        first = getOneRectangle(rect[i]);
        break;
      }
    }
    if (first != null){
      rect[0] = (first.x1 > field.x1)?(new Rectangle(field.x1, field.y1, first.x1-1, field.y2)):null;
      rect[1] = (first.x2 < field.x2)?(new Rectangle(first.x2+1, field.y1, field.x2, field.y2)):null;
      rect[2] = (first.y1 > field.y1)?(new Rectangle(field.x1, field.y1, field.x2, first.y1-1)):null;
      rect[3] = (first.y2 < field.y2)?(new Rectangle(field.x1, first.y2+1, field.x2, field.y2)):null;
      for (int i = 0; i < 4; i++) {
        if (rect[i] != null) {
          curAnswer = askOwl(rect[i]);
          if (curAnswer == 1) {
            second = getOneRectangle(rect[i]);
            break;
          }
        }
      }
    }
    out.println("! " + first + " " + second);
  }

  private Rectangle getOneRectangle(Rectangle field) throws IOException {
    Rectangle answer = new Rectangle(field.x1, field.y1, field.x2, field.y2);
    int L, R, M;
    int ans;
    L = answer.x1;
    R = answer.x2;
    while(L <= R){
      M = (R + L) / 2;
      ans = askOwl(M, answer.y1, answer.x2, answer.y2);
      if (ans == 0){
        R = M-1;
      } else {
        L = M+1;
      }
    }
    answer.x1 = L-1;


    L = answer.x1;
    R = answer.x2;
    while(L <= R){
      M = (R + L) / 2;
      ans = askOwl(answer.x1, answer.y1, M, answer.y2);
      if (ans == 0){
        L = M+1;
      } else {
        R = M-1;
      }
    }
    answer.x2 = R+1;


    L = answer.y1;
    R = answer.y2;
    while(L <= R){
      M = (R + L) / 2;
      ans = askOwl(answer.x1, M, answer.x2, answer.y2);
      if (ans == 0){
        R = M-1;
      } else {
        L = M+1;
      }
    }
    answer.y1 = L-1;


    L = answer.y1;
    R = answer.y2;
    while(L <= R){
      M = (R + L) / 2;
      ans = askOwl(answer.x1, answer.y1, answer.x2, M);
      if (ans == 0){
        L = M+1;
      } else {
        R = M-1;
      }
    }
    answer.y2 = R+1;

    return answer;
  }

  private int askOwl(Rectangle rectangle) throws IOException {
    out.println("? " + rectangle);
    out.flush();
    return nextInt();
  }

  private int askOwl(int x1, int y1, int x2, int y2) throws IOException {
    out.println("? " +  x1 + " " + y1 + " " + x2 + " " + y2);
    out.flush();
    return nextInt();
  }
  
}