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.OutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.PrintWriter;
import java.io.PrintStream;
import java.util.StringTokenizer;
import java.util.Scanner;
import java.io.IOException;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.InputStream;

/**
 * Built using CHelper plug-in
 * Actual solution is at the top
 *
 * @author Wolfgang Beyer
 */
public class Main {
    public static void main(String[] args) {
        InputStream inputStream = System.in;
        OutputStream outputStream = System.out;
        InputReader in = new InputReader(inputStream);
        PrintWriter out = new PrintWriter(outputStream);
        TaskD solver = new TaskD();
        solver.solve(1, in, out);
        out.close();
    }

    static class TaskD {
        int found = 0;
        int queryCount = 0;
        int[] result = new int[8];

        public void solve(int testNumber, InputReader in, PrintWriter out) {
            int n = in.nextInt();
            //int n = 100;
            //int n = 65536;


            int left = 1;
            int right = n + 1;
            while (left + 1 < right) {
                int middle = (left + right) / 2;
                int res = query(middle, 1, n, n);
                if (res == 2) left = middle;
                else if (res == 1) {
                    //System.out.println("Searching single: ");
                    findSingle(middle, 1, n, n);
                    found++;
                    break;
                } else {
                    right = middle;
                }
            }

            int top = 1;
            int bottom = n + 1;
            while (top + 1 < bottom) {
                int middle = (top + bottom) / 2;
                int res = query(1, middle, n, n);
                if (res == 2) top = middle;
                else if (res == 1) {
                    if ((found == 0) || (!containsRect(1, middle, n, n, result[0], result[1], result[2], result[3]))) {
                        //System.out.println("Searching single: ");
                        findSingle(1, middle, n, n);
                        found++;
                    }
                    break;
                } else {
                    bottom = middle;
                }
            }

            if (found < 2) {
                //System.out.println("Dia 3: ");
                left = 0;
                right = n;
                while (left + 1 < right) {
                    int middle = (left + right) / 2;
                    int res = query(1, 1, middle, n);
                    if (res == 2) right = middle;
                    else if (res == 1) {
                        if ((found == 0) || (!containsRect(1, 1, middle, n, result[0], result[1], result[2], result[3]))) {
                            //System.out.println("Searching single: ");
                            findSingle(1, 1, middle, n);
                            found++;
                        }
                        break;
                    } else {
                        left = middle;
                    }
                }
            }

            if (found < 2) {
                //System.out.println("Dia 4:");
                top = 0;
                bottom = n;
                while (top + 1 < bottom) {
                    int middle = (top + bottom) / 2;
                    int res = query(1, 1, n, middle);
                    if (res == 2) bottom = middle;
                    else if (res == 1) {
                        if ((found == 0) || (!containsRect(1, 1, n, middle, result[0], result[1], result[2], result[3]))) {
                            //System.out.println("Searching single: ");
                            findSingle(1, 1, n, middle);
                            found++;
                        }
                        break;
                    } else {
                        top = middle;
                    }
                }
            }

            System.out.print("! ");
            for (int i = 0; i < 8; i++) System.out.print(result[i] + " ");
            //System.out.println("\n" + queryCount + " queries used");
        }

        public boolean containsRect(int x1, int y1, int x2, int y2, int x3, int y3, int x4, int y4) {
            if ((x1 <= x3) && (y1 <= y3) && (x2 >= x4) && (y2 >= y4)) return true;
            return false;
        }

        public void findSingle(int x1, int y1, int x2, int y2) {
            x1 = findTopX(x1, y1, x2, y2);
            y1 = findTopY(x1, y1, x2, y2);
            x2 = findBottomX(x1, y1, x2, y2);
            y2 = findBottomY(x1, y1, x2, y2);
            //System.out.println("x1: " + x1 + ", y1: " + y1 + ", x2: " + x2 + ", y2: " + y2);
            result[0 + 4 * found] = x1;
            result[1 + 4 * found] = y1;
            result[2 + 4 * found] = x2;
            result[3 + 4 * found] = y2;
        }

        public int findTopX(int x1, int y1, int x2, int y2) {
            int left = x1;
            int right = x2;
            while (left + 1 < right) {
                int mid = (left + right) / 2;
                if (query(mid, y1, x2, y2) == 1) {
                    left = mid;
                } else {
                    right = mid;
                }
            }
            while (query(right, y1, x2, y2) == 0) right--;
            return right;
        }

        public int findTopY(int x1, int y1, int x2, int y2) {
            int left = y1;
            int right = y2;
            while (left + 1 < right) {
                int mid = (left + right) / 2;
                if (query(x1, mid, x2, y2) == 1) {
                    left = mid;
                } else {
                    right = mid;
                }
            }
            while (query(x1, right, x2, y2) == 0) right--;
            return right;
        }

        public int findBottomX(int x1, int y1, int x2, int y2) {
            int left = x1;
            int right = x2;
            while (left + 1 < right) {
                int mid = (left + right) / 2;
                if (query(x1, y1, mid, y2) == 1) {
                    right = mid;
                } else {
                    left = mid;
                }
            }
            while (query(x1, y1, left, y2) == 0) left++;
            return left;
        }

        public int findBottomY(int x1, int y1, int x2, int y2) {
            int left = y1;
            int right = y2;
            while (left + 1 < right) {
                int mid = (left + right) / 2;
                if (query(x1, y1, x2, mid) == 1) {
                    right = mid;
                } else {
                    left = mid;
                }
            }
            while (query(x1, y1, x2, left) == 0) left++;
            return left;
        }

        public int query(int x1, int y1, int x2, int y2) {
            queryCount++;

            System.out.println("? " + x1 + " " + y1 + " " + x2 + " " + y2);
            System.out.flush();
            Scanner sc = new Scanner(System.in);
            return sc.nextInt();


        /*int ret = 0;
        //if(x1 <= 17 && 57 <= x2 && y1 <= 80 && 80 <= y2) ++ret;
	    //if(x1 <= 25 && 88 <= x2 && y1 <= 51 && 61 <= y2) ++ret;
        if(x1 <= 10 && 10 <= x2 && y1 <= 11 && 11 <= y2) ++ret;
        //if(x1 <= 11 && 11 <= x2 && y1 <= 10 && 10 <= y2) ++ret;
        if(x1 <= 10 && 10 <= x2 && y1 <= 15 && 15 <= y2) ++ret;
        //System.out.println(x1 + ", " + y1 + ", " + x2 + ", " + y2 + ": " + ret);
	    return ret;*/
        }

    }

    static class InputReader {
        private static BufferedReader in;
        private static StringTokenizer tok;

        public InputReader(InputStream in) {
            this.in = new BufferedReader(new InputStreamReader(in));
        }

        public int nextInt() {
            return Integer.parseInt(next());
        }

        public String next() {
            try {
                while (tok == null || !tok.hasMoreTokens()) {
                    tok = new StringTokenizer(in.readLine());
                }
            } catch (IOException ex) {
                System.err.println("An IOException was caught :" + ex.getMessage());
            }
            return tok.nextToken();
        }

    }
}