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.IOException;
import java.util.Arrays;
import java.util.InputMismatchException;

public class SearchingRectangles {
	private static final int X1 = 0;
	private static final int Y1 = 1;
	private static final int X2 = 2;
	private static final int Y2 = 3;
	
	public static void main(String[] args) {
		FasterScanner sc = new FasterScanner();

		int N = sc.nextInt();
		
		int[] empty = new int[4];
		
		int[] R1 = { 1, 1, N, N };
		int[] R2 = { 1, 1, N, N };
		
		binSearch(sc, N, 1, R1, X1, false, empty);
		binSearch(sc, N, 1, R1, X2, true, empty);
		binSearch(sc, N, 1, R1, Y1, false, empty);
		binSearch(sc, N, 1, R1, Y2, true, empty);

		binSearch(sc, N, 1, R2, X1, false, R1);
		binSearch(sc, N, 1, R2, X2, true, R1);
		binSearch(sc, N, 1, R2, Y1, false, R1);
		binSearch(sc, N, 1, R2, Y2, true, R1);

//		System.out.println(Arrays.toString(R1));
//		System.out.println(Arrays.toString(R2));
		
		System.out.format("! %d %d %d %d %d %d %d %d\n", R1[X1], R1[Y1], R1[X2], R1[Y2], R2[X1], R2[Y1], R2[X2], R2[Y2]);
		System.out.flush();
		
//		System.out.println(_q);
	}
	
	public static int binSearch(FasterScanner sc, int N, int target, int[] params, int arg, boolean incr, int[] ign) {
		int L = 1, R = N;
		int good = 0;
		while (L <= R) {
			int M = (L + R) / 2;
			params[arg] = M;
			int val = query(sc, params, ign);
			if (val >= target) {
				good = M;
			}
			if (incr == (val >= target)) {
				R = M - 1;
			} else {
				L = M + 1;
			}
		}
		params[arg] = good;
		return good;
	}
	
	private static int _q = 0;

	private static final int[] _rect1 = { 3, 4, 3, 5 };
	private static final int[] _rect2 = { 2, 2, 2, 2 };
	
	public static int query(FasterScanner sc, int[] args, int[] ign) {
//		_q++;
//		return contains(args, _rect1) + contains(args, _rect2) - contains(args, ign);
		
		if (args[X1] > args[X2] || args[Y1] > args[Y2]) {
			return 0;
		}
		System.out.format("? %d %d %d %d\n", args[X1], args[Y1], args[X2], args[Y2]);
		System.out.flush();
		return sc.nextInt() - contains(args, ign);
	}
	
	public static int contains(int[] r1, int[] r2) {
		return (r1[X1] <= r2[X2] && r1[X2] >= r2[X2] && r1[Y1] <= r2[Y1] && r1[Y2] >= r2[Y2]) ? 1 : 0;
	}

	public static class FasterScanner {
		private byte[] buf = new byte[1024];
		private int curChar;
		private int numChars;

		public int read() {
			if (numChars == -1)
				throw new InputMismatchException();
			if (curChar >= numChars) {
				curChar = 0;
				try {
					numChars = System.in.read(buf);
				} catch (IOException e) {
					throw new InputMismatchException();
				}
				if (numChars <= 0)
					return -1;
			}
			return buf[curChar++];
		}

		public String nextLine() {
			int c = read();
			while (isSpaceChar(c))
				c = read();
			StringBuilder res = new StringBuilder();
			do {
				res.appendCodePoint(c);
				c = read();
			} while (!isEndOfLine(c));
			return res.toString();
		}

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

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

		public int[] nextIntArray(int n) {
			return nextIntArray(n, 0);
		}

		public int[] nextIntArray(int n, int off) {
			int[] arr = new int[n + off];
			for (int i = 0; i < n; i++) {
				arr[i + off] = nextInt();
			}
			return arr;
		}

		public long[] nextLongArray(int n) {
			return nextLongArray(n, 0);
		}

		public long[] nextLongArray(int n, int off) {
			long[] arr = new long[n + off];
			for (int i = 0; i < n; i++) {
				arr[i + off] = nextLong();
			}
			return arr;
		}

		private boolean isSpaceChar(int c) {
			return c == ' ' || c == '\n' || c == '\r' || c == '\t' || c == -1;
		}

		private boolean isEndOfLine(int c) {
			return c == '\n' || c == '\r' || c == -1;
		}
	}
}