Problem: This is an interactive problem.

Now Serval is a senior high school student in Japari Middle School. However, on the way to the school, he must go across a pond, in which there is a dangerous snake. The pond can be represented as a n × n grid. The snake has a head and a tail in different cells, and its body is a series of adjacent cells connecting the head and the tail without self-intersecting. If Serval hits its head or tail, the snake will bite him and he will die.

Luckily, he has a special device which can answer the following question: you can pick a rectangle, it will tell you the number of times one needs to cross the border of the rectangle walking cell by cell along the snake from the head to the tail. The pictures below show a possible snake and a possible query to it, which will get an answer of 4.

<image> <image>

Today Serval got up too late and only have time to make 2019 queries. As his best friend, can you help him find the positions of the head and the tail?

Note that two cells are adjacent if and only if they have a common edge in the grid, and a snake can have a body of length 0, that means it only has adjacent head and tail.

Also note that the snake is sleeping, so it won't move while Serval using his device. And what's obvious is that the snake position does not depend on your queries.

Input

The first line contains a single integer n (2≤ n ≤ 1000) — the size of the grid.

Output

When you are ready to answer, you should print ! x1 y1 x2 y2, where (x_1, y_1) represents the position of the head and (x_2,y_2) represents the position of the tail. You can print head and tail in any order.

Interaction

To make a query, you should print ? x1 y1 x2 y2 (1 ≤ x_1 ≤ x_2 ≤ n, 1≤ y_1 ≤ y_2 ≤ n), representing a rectangle consisting of all cells (x,y) such that x_1 ≤ x ≤ x_2 and y_1 ≤ y ≤ y_2. You will get a single integer as the answer.

After printing a query, do not forget to output the end of line and flush the output, otherwise you will get Idleness limit exceeded. To do this, use:

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



Answer -1 instead of a valid answer means that you made an invalid query or exceeded the maximum number of queries. Exit immediately after receiving -1 and you will see Wrong answer verdict. Otherwise you can get an arbitrary verdict because your solution will continue to read from a closed stream.

If your program cannot find out the head and tail of the snake correctly, you will also get a Wrong Answer verdict.

Hacks

To make a hack, print a single integer n (2 ≤ n ≤ 1000) in the first line, indicating the size of the grid.

Then print an integer k (2 ≤ k ≤ n^2) in the second line, indicating the length of the snake.

In the next k lines, print k pairs of integers x_i, y_i (1 ≤ x_i, y_i ≤ n), each pair in a single line, indicating the i-th cell of snake, such that the adjacent pairs are adjacent, and all k pairs are distinct.

Examples

Input


2

1

0

0


Output



? 1 1 1 1

? 1 2 1 2

? 2 2 2 2

! 1 1 2 1

Input


3

2

0


Output



? 2 2 2 2

? 2 1 2 3

! 2 1 2 3

Note

<image> <image> <image> <image>

The pictures above show our queries and the answers in the first example. We first made a query for (1,1) and got an answer 1, then found that it must be connected to exactly one other cell. Then we made a query for (1,2) and got an answer of 0, then knew that the snake never entered it. So the cell connected to (1,1) must be (2,1). Then we made a query for (2,2) and got an answer 0, then knew that it never entered (2,2) as well. So the snake cannot leave (2,1), which implies that the answer is (1,1) and (2,1).

<image> <image> <image>

The pictures above show our queries and the answers in the second example. By making query to (2,2) and receiving 2, we found that the snake occupies (2,2). And by making query to rectangle from (2,1) to (2,3) and receiving answer 0, we knew that it never goes out of the rectangle from (2,1) to (2,3). Since the first answer is 2, both (2,1) and (2,3) must be occupied but none of others, so the answer is (2,1) and (2,3).

Solution (in JAVA):

Solution:
import java.io.OutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.PrintWriter;
import java.util.List;
import java.io.BufferedWriter;
import java.io.Writer;
import java.io.OutputStreamWriter;
import java.util.InputMismatchException;
import java.io.IOException;
import java.util.ArrayList;
import java.io.InputStream;
import java.util.function.Predicate;

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

    static class TaskE {
        public void solve(int testNumber, InputReader in, OutputWriter out) {
            int n = in.readInt();

            int[] answersX = new int[n + 1];
            int[] answersY = new int[n + 1];
            for (int x = 1; x <= n; x++) {
                answersX[x] = ask(in, out, x, 1, x, n);
            }
            for (int y = 1; y <= n; y++) {
                answersY[y] = ask(in, out, 1, y, n, y);
            }

            int lx = 1;
            int rx = n;
            while (lx <= n && answersX[lx] == 0) lx++;
            while (rx >= 1 && answersX[rx] == 0) rx--;

            int ly = 1;
            int ry = n;
            while (ly <= n && answersY[ly] == 0) ly++;
            while (ry >= 1 && answersY[ry] == 0) ry--;

            System.err.println("lx rx == " + lx + " " + rx);
            System.err.println("ly ry == " + ly + " " + ry);
            System.err.flush();

            if (lx > rx) {
                System.err.println("Horizontal line");
                System.err.flush();

                if (ly > ry) {
                    throw new AssertionError();
                }

                int ansX = findX(in, out, n, ly, z -> (z > 0));

                answer(out, ansX, ly, ansX, ry);
                return;
            }

            if (ly > ry) {
                System.err.println("Vertical line");
                System.err.flush();

                if (lx > rx) {
                    throw new AssertionError();
                }

                int ansY = findY(in, out, n, lx, z -> (z > 0));

                answer(out, lx, ansY, rx, ansY);
                return;
            }

            System.err.println("General case");
            System.err.flush();

            List<TaskE.Point> list = new ArrayList<>();
            for (int x = 1; x <= n; x++) {
                for (int y = 1; y <= n; y++) {
                    if (answersX[x] % 2 != 0 && answersY[y] % 2 != 0) {
                        list.add(new TaskE.Point(x, y));
                    }
                }
            }
            if (list.size() == 4) {
                System.err.println("On different hor / ver");
                System.err.flush();

                List<TaskE.Point> ans = new ArrayList<>();
                for (TaskE.Point p : list) {
                    int res = ask(in, out, p.x, p.y, p.x, p.y);
                    if (res % 2 != 0) {
                        ans.add(p);
                    }
                }

                if (ans.size() != 2) {
                    throw new AssertionError();
                }
                TaskE.Point p1 = ans.get(0);
                TaskE.Point p2 = ans.get(1);
                answer(out, p1.x, p1.y, p2.x, p2.y);
                return;
            }

            List<Integer> oddX = new ArrayList<>();
            List<Integer> oddY = new ArrayList<>();
            for (int x = 1; x <= n; x++) {
                if (answersX[x] % 2 != 0) oddX.add(x);
            }
            for (int y = 1; y <= n; y++) {
                if (answersY[y] % 2 != 0) oddY.add(y);
            }

            if (oddX.size() == 2) {
                int x1 = oddX.get(0);
                int x2 = oddX.get(1);
                System.err.println("On same y, xs == " + x1 + " " + x2);
                System.err.flush();
                int ansY = findY(in, out, n, x1, z -> z % 2 != 0);
//                ansY++;
                answer(out, x1, ansY, x2, ansY);
                return;
            }

            if (oddY.size() == 2) {
                int y1 = oddY.get(0);
                int y2 = oddY.get(1);
                System.err.println("On same x, ys == " + y1 + " " + y2);
                System.err.flush();
                int ansX = findX(in, out, n, y1, z -> z % 2 != 0);
//                ansX++;
                answer(out, ansX, y1, ansX, y2);
                return;
            }

            throw new AssertionError();
        }

        private int findY(InputReader in, OutputWriter out, int n, int xToAsk, Predicate<Integer> good) {
            int ly;
            int ry;
            ly = 1;
            ry = n;
            int ansY = -1;
            while (ly <= ry) {
                int y = (ly + ry) / 2;
                int res = ask(in, out, xToAsk, 1, xToAsk, y);
                if (good.test(res)) {
                    ansY = y;
                    ry = y - 1;
                } else {
                    ly = y + 1;
                }
            }
            if (ansY == -1) {
                throw new AssertionError();
            }
            return ansY;
        }

        private int findX(InputReader in, OutputWriter out, int n, int yToAsk, Predicate<Integer> good) {
            int lx;
            int rx;
            lx = 1;
            rx = n;
            int ansX = -1;
            while (lx <= rx) {
                int x = (lx + rx) / 2;
                int res = ask(in, out, 1, yToAsk, x, yToAsk);
                if (good.test(res)) {
                    ansX = x;
                    rx = x - 1;
                } else {
                    lx = x + 1;
                }
            }
            if (ansX == -1) {
                throw new AssertionError();
            }
            return ansX;
        }

        private void answer(OutputWriter out, int x1, int y1, int x2, int y2) {
            out.printLine("! " + x1 + " " + y1 + " " + x2 + " " + y2);
            out.flush();
        }

        private int ask(InputReader in, OutputWriter out, int x1, int y1, int x2, int y2) {
            out.printLine("? " + x1 + " " + y1 + " " + x2 + " " + y2);
            out.flush();
            int res = in.readInt();
            if (res == -1) {
                //noinspection InfiniteLoopStatement,StatementWithEmptyBody
                while (true) ; // get TL
            }
            return res;
        }

        static class Point {
            int x;
            int y;

            public Point(int x, int y) {
                this.x = x;
                this.y = y;
            }

        }

    }

    static class InputReader {
        private InputStream stream;
        private byte[] buf = new byte[1024];
        private int curChar;
        private int numChars;
        private InputReader.SpaceCharFilter filter;

        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 readInt() {
            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 - '0';
                c = read();
            } while (!isSpaceChar(c));
            return res * sgn;
        }

        public boolean isSpaceChar(int c) {
            if (filter != null) {
                return filter.isSpaceChar(c);
            }
            return isWhitespace(c);
        }

        public static boolean isWhitespace(int c) {
            return c == ' ' || c == '\n' || c == '\r' || c == '\t' || c == -1;
        }

        public interface SpaceCharFilter {
            public boolean isSpaceChar(int ch);

        }

    }

    static class OutputWriter {
        private final PrintWriter writer;

        public OutputWriter(OutputStream outputStream) {
            writer = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)));
        }

        public OutputWriter(Writer writer) {
            this.writer = new PrintWriter(writer);
        }

        public void print(Object... objects) {
            for (int i = 0; i < objects.length; i++) {
                if (i != 0) {
                    writer.print(' ');
                }
                writer.print(objects[i]);
            }
        }

        public void printLine(Object... objects) {
            print(objects);
            writer.println();
        }

        public void close() {
            writer.close();
        }

        public void flush() {
            writer.flush();
        }

    }
}