#include using namespace std; int main () { int N; cin >> N; cout << "? 1 " << N * 2 << " 2 " << N * 2 << endl; string s; cin >> s; int i, j, k; if (s == "Yes") { cout << "? 2 " << N * 2 << " 3 " << N * 2 << endl; string t; cin >> t; k = (t == "Yes" ? 3 : 2); } else { cout << "? 1 " << N * 2 << " 3 " << N * 2 << endl; string t; cin >> t; k = (t == "Yes" ? 3 : 1); } i = (k + 1 > 3 ? k - 2 : k + 1), j = (k + 2 > 3 ? k - 1 : k + 2); cout << "? " << i << " " << N << " " << j << " " << N << endl; cin >> s; if (s == "No") { swap(i, j); } cout << "!"; for (int p = 0; p < N * 2; p ++) { cout << " " << (p & 1 ? i : j) << " " << k; } for (int p = 0; p < N; p ++) { cout << " " << i << " " << j; } cout<< endl; }