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:
/* package whatever; // don't place package name! */

import java.util.*;
import java.lang.*;
import java.io.*;

/* Name of the class has to be "Main" only if the class is public. */
public class Main
{
		static InputReader in =new InputReader(System.in);
		static PrintWriter out=new PrintWriter(System.out);
		static int fb,fl,fu,fr;
	 	static int sb,sl,su,sr;
	 	static int b,l,u,r;
	public static void main (String[] args) throws java.lang.Exception
	{
		int t=1;
		while(t-->0){
		int n=in.nextInt();
//	 	boolean find;
	 	 b=1;l=1;u=n;r=n;
	 	 fb=b;fl=l;fu=u;fr=r;
	 	 sb=1;sl=1;su=n;sr=n;
	 	 int tt=binary_search(b,l,u,r,1,n,true);
//	 	 System.out.println("first part");
	 	 if(tt<n)System.out.println("? "+(tt+1)+" "+b+" "+r+" "+u);
	 	 int temp=0;
	 	 if(tt<n)temp=in.nextInt();
	 	if(temp==1){
	 		fr=tt;
	 	    sl=fr+1;
	 	}else{
	 		fu=binary_search(b,l,u,r,1,n,false);
	 	    sb=fu+1;
	 	}
	 	
	 	if(temp==1){
	 		fu=binary_search(fb,fl,fu,fr,fb,fu,false);
	 	}else{
//	 		System.out.println("first right");
	 		fr=binary_search(fb,fl,fu,fr,fl,fr,true);
	 	}
//	 	System.out.println("first right "+fr);
//	 	System.out.println("first bottm");
	 	fb=search(fb,fl,fu,fr,fb,fu,true);
//	 	System.out.println("first bottom "+fb);
//	 	System.out.println("first left");
 	    fl=search(fb,fl,fu,fr,fl,fr,false);
// 	    System.out.println("first left "+fl);
// 	    System.out.println("second bottm");
 	    sb=search(sb,sl,su,sr,sb,su,true);
// 	    System.out.println("second bottm then left"+sb);
 	    sl=search(sb,sl,su,sr,sl,sr,false);
// 	    System.out.println("second left then upper "+sl);
	    su=binary_search(sb,sl,su,sr,sb,su,false);
//	    System.out.println("second upper then right "+su);
	    sr=binary_search(sb,sl,su,sr,sl,sr,true);
//	    System.out.println("second right "+sr);
	    
	    
	 	System.out.print("! "+fl+" "+fb+" "+fr+" "+fu+" ");
	 	System.out.println(sl+" "+sb+" "+sr+" "+su);
//		out.println();
	}
	out.close();
	}
	
	static public int binary_search(int b,int l,int u,int r,int one,int two,boolean side){
		if(one==two)return one;
		int k=0,m=0;
	    int mid=(one+two)/2;
	    if(side){
	        System.out.println("? "+l+" "+b+" "+mid+" "+u);
	        System.out.flush();
	        k=in.nextInt();
	        if(mid!=one&&k==1){System.out.println("? "+l+" "+b+" "+(mid-1)+" "+u);System.out.flush();}
	    }else{ 
	        System.out.println("? "+l+" "+b+" "+r+" "+mid);
	        System.out.flush();
	        k=in.nextInt();
	    	if(mid!=one&&k==1){System.out.println("? "+l+" "+b+" "+r+" "+(mid-1));System.out.flush();}
	    }
	    if(one!=mid&&k==1)m=in.nextInt();
	    if(mid==one&&k==1)return mid;
	    if(mid!=one&&k==1&&m==0){
	        return mid;   
	    }else if(k==0){
	    	return binary_search(b,l,u,r,mid+1,two,side);
	    }else{
	    	if(k==2&&side){sr=mid;fr=mid;}
	    	else if(k==2)su=mid;
	        return binary_search(b,l,u,r,one,mid-1,side);
	    }
	}
	
	
	static public int search(int b,int l,int u,int r,int one,int two,boolean side){
		if(one==two)return one;
		int k=0,m=0;
		int mid=(one+two)/2;
	    if(side){
	        System.out.println("? "+l+" "+mid+" "+r+" "+u);
	        System.out.flush();
	        k=in.nextInt();
	        if(k==1){System.out.println("? "+l+" "+(mid+1)+" "+r+" "+u);System.out.flush();}
	    }
	    else{ 
	        System.out.println("? "+mid+" "+b+" "+r+" "+u);
	        System.out.flush();
	        k=in.nextInt();
	        if(k==1){System.out.println("? "+(mid+1)+" "+b+" "+r+" "+u);System.out.flush();}
	    }
	    if(k==1)m=in.nextInt();
	    if(k==1&&m==0){
	        return mid;   
	    }else if(k==1){
	    	return search(b,l,u,r,mid+1,two,side);
	    }else{
	        return search(b,l,u,r,one,mid-1,side);
	    }
	}
}






class InputReader
{
 
    private InputStream stream;
    private byte[] buf = new byte[1024];
    private int curChar;
    private int numChars;
 
    public InputReader(InputStream stream) {
        this.stream = stream;
    }
 
    public int read() {
        if (numChars == -1)
            throw new InputMismatchException();
        if (curChar >= numChars) {
            curChar = 0;
            try {
                numChars = stream.read(buf);
            } catch (IOException e) {
                throw new InputMismatchException();
            }
            if (numChars <= 0)
                return -1;
        }
        return buf[curChar++];
    }
 
    public int nextInt() {
        int c = read();
        while (isSpaceChar(c))
            c = read();
        int sgn = 1;
        if (c == '-') {
            sgn = -1;
            c = read();
        }
        int res = 0;
        do {
            if (c < '0' || c > '9')
                throw new InputMismatchException();
            res *= 10;
            res += c & 15;
            c = read();
        } while (!isSpaceChar(c));
        return res * sgn;
    }
 
    public long nextLong() {
        int c = read();
        while (isSpaceChar(c))
            c = read();
        int sgn = 1;
        if (c == '-') {
            sgn = -1;
            c = read();
        }
        long res = 0;
        do {
            if (c < '0' || c > '9')
                throw new InputMismatchException();
            res *= 10;
            res += c & 15;
            c = read();
        } while (!isSpaceChar(c));
        return res * sgn;
    }
 
    public String next() {
        int c = read();
        while (isSpaceChar(c))
            c = read();
        StringBuilder res = new StringBuilder();
        do {
            res.appendCodePoint(c);
            c = read();
        } while (!isSpaceChar(c));
        return res.toString();
    }
 
    public String nextLine() {
        int c = read();
        //while (c != '\n' && c != '\r' && c != '\t' && c != -1)
        //c = read();
        StringBuilder res = new StringBuilder();
        do {
            res.appendCodePoint(c);
            c = read();
        } while (c != '\n' && c != '\r' && c != '\t' && c != -1);
        return res.toString();
    }
 
    public static boolean isSpaceChar(int c) {
        return c == ' ' || c == '\n' || c == '\r' || c == '\t' || c == -1;
    }
 
}