Problem: This problem is interactive.

We have hidden a permutation p_1, p_2, ..., p_n of numbers from 1 to n from you, where n is even. You can try to guess it using the following queries:

? k a_1 a_2 ... a_k.

In response, you will learn if the average of elements with indexes a_1, a_2, ..., a_k is an integer. In other words, you will receive 1 if \frac{p_{a_1} + p_{a_2} + ... + p_{a_k}}{k} is integer, and 0 otherwise. 

You have to guess the permutation. You can ask not more than 18n queries.

Note that permutations [p_1, p_2, ..., p_k] and [n + 1 - p_1, n + 1 - p_2, ..., n + 1 - p_k] are indistinguishable. Therefore, you are guaranteed that p_1 ≤ n/2.

Note that the permutation p is fixed before the start of the interaction and doesn't depend on your queries. In other words, interactor is not adaptive.

Note that you don't have to minimize the number of queries.

Input

The first line contains a single integer n (2 ≤ n ≤ 800, n is even).

Interaction

You begin the interaction by reading n.

To ask a question about elements on positions a_1, a_2, ..., a_k, in a separate line output

? k a_1 a_2 ... a_k

Numbers in the query have to satisfy 1 ≤ a_i ≤ n, and all a_i have to be different. Don't forget to 'flush', to get the answer.

In response, you will receive 1 if \frac{p_{a_1} + p_{a_2} + ... + p_{a_k}}{k} is integer, and 0 otherwise. 

In case your query is invalid or you asked more than 18n queries, the program will print -1 and will finish interaction. You will receive a Wrong answer verdict. Make sure to exit immediately to avoid getting other verdicts.

When you determine permutation, output 

! p_1 p_2 ... p_n

After printing a query do not forget to output 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.



Hack format

For the hacks use the following format:

The first line has to contain a single integer n (2 ≤ n ≤ 800, n is even).

In the next line output n integers p_1, p_2, ..., p_n — the valid permutation of numbers from 1 to n. p_1 ≤ n/2 must hold.

Example

Input


2
1 2


Output


? 1 2
? 1 1
! 1 2 

Solution (in CPP):

Solution:
#include <bits/stdc++.h>
using namespace std;
template <typename T>
bool vmin(T& a, T b) {
  return (a > b) ? (a = b, true) : (false);
}
template <typename T>
bool vmax(T& a, T b) {
  return (a < b) ? (a = b, true) : (false);
}
template <typename T>
T smax(T x) {
  return x;
}
template <typename T, typename... K>
T smax(T a, const K&... args) {
  return max(a, smax(args...));
}
template <typename T>
T smin(T x) {
  return x;
}
template <typename T, typename... K>
T smin(T a, const K&... args) {
  return min(a, smin(args...));
}
template <typename A, typename B>
ostream& operator<<(ostream& os, const pair<A, B>& z) {
  os << "(" << z.first << ", " << z.second << ')';
  return os;
}
template <typename T>
ostream& operator<<(ostream& os, const vector<T>& a) {
  bool isfirst = true;
  os << "{";
  for (auto z : a) {
    if (!isfirst) {
      os << ", ";
    }
    os << z;
    isfirst = false;
  }
  os << '}';
  return os;
}
bool query(vector<int> v) {
  if (v.size() == 1u) return true;
  cout << '?' << " " << v.size();
  for (auto x : v) cout << " " << x;
  cout << endl;
  int rt;
  cin >> rt;
  return rt;
}
bool query(vector<int> v, int y) {
  v.push_back(y);
  return query(v);
}
vector<int>& remove(vector<int>& a, int x) {
  a.erase(find(a.begin(), a.end(), x));
  return a;
}
void exgcd(int a, int b, int& x, int& y) {
  if (!b) {
    x = 1, y = 0;
  } else {
    exgcd(b, a % b, y, x);
    y -= (a / b) * x;
  }
}
int inv(int a, int n) {
  int x, y;
  exgcd(a, n, x, y);
  return (x < 0) ? (x + n) : x;
}
const int N = 803;
int n;
int p[N], q[N], pari[N];
vector<int> find_min_max(vector<int> pos) {
  vector<int> rt;
  for (int i = 0; i < (signed)pos.size() && rt.size() < 2u; i++) {
    vector<int> tmp = pos;
    tmp.erase(tmp.begin() + i);
    if (query(tmp)) {
      rt.push_back(pos[i]);
    }
  }
  return rt;
}
void set_p(int pos, int val) {
  p[pos] = val;
  q[val] = pos;
}
void answer() {
  cout << "!";
  if ((p[1] << 1) > n) {
    for (int i = 1; i <= n; i++) cout << " " << n + 1 - p[i];
  } else {
    for (int i = 1; i <= n; i++) cout << " " << p[i];
  }
  cout << endl;
  exit(0);
}
vector<int> get_rest(int m, vector<vector<int> > rule) {
  vector<int> rt(n + 1, -1);
  for (int i = 1; i <= n; i++) {
    if (p[i]) {
      rt[i] = p[i] % m;
    }
  }
  int sum = m * (m - 1) / 2;
  for (auto& v : rule) {
    int r = 0;
    for (auto& x : v) {
      if (x < 0) {
        r += n + 1 + x;
        x = q[n + 1 + x];
      } else {
        r += x;
        x = q[x];
      }
    }
    r = (m - r % m) % m;
    for (int i = 1; i <= n; i++) {
      if (rt[i] == -1 && query(v, i)) {
        rt[i] = r;
      }
    }
    sum -= r;
  }
  for (int i = 1; i <= n; i++) {
    (rt[i] == -1) && (rt[i] = sum, 0);
  }
  return rt;
}
int crt(vector<int> a, vector<int> m) {
  int M = 1, rt = 0, t = a.size();
  for (auto x : m) M *= x;
  for (int i = 0; i < t; i++)
    rt = (rt + 1ll * a[i] * inv(M / m[i] % m[i], m[i]) * (M / m[i]));
  return rt % M;
}
int main() {
  ios::sync_with_stdio(false);
  cin.tie(0), cout.tie(0);
  cin >> n;
  vector<int> rest(n);
  for (int i = 0; i < n; i++) rest[i] = i + 1;
  vector<int> _ = find_min_max(rest);
  set_p(_[0], 1);
  set_p(_[1], n);
  if (n == 2) {
    answer();
  }
  for (int i = 1; i <= n; i++) {
    if (!p[i]) {
      pari[i] = query(vector<int>{i, q[1]});
    } else {
      pari[i] = p[i] & 1;
    }
  }
  remove(remove(rest, _[0]), _[1]);
  for (int l = 2, r = n - 1; l <= r && l <= 4; l++, r--) {
    _ = find_min_max(rest);
    if (pari[_[0]] ^ (l & 1)) swap(_[0], _[1]);
    set_p(_[0], l);
    set_p(_[1], r);
    remove(remove(rest, _[0]), _[1]);
  }
  if (n <= 8) {
    answer();
  }
  vector<int> r3 =
      get_rest(3, vector<vector<int> >{vector<int>{1, 2}, vector<int>{2, 3}});
  vector<int> r5 =
      get_rest(5, vector<vector<int> >{
                      vector<int>{1, 2, -1, -2}, vector<int>{1, 2, -1, -3},
                      vector<int>{1, 2, -1, -4}, vector<int>{1, 3, -1, -2}});
  vector<int> r7 = get_rest(
      7,
      vector<vector<int> >{
          vector<int>{1, 2, 3, -1, -2, -3}, vector<int>{1, 2, 3, -1, -2, -4},
          vector<int>{1, 2, 3, -1, -3, -4}, vector<int>{1, 2, 3, -2, -3, -4},
          vector<int>{1, 2, 4, -1, -2, -3}, vector<int>{1, 3, 4, -1, -2, -3}});
  vector<int> r8(n + 1, -1);
  vector<int> a[2], b[4], c[8];
  for (int i = 1; i <= n; i++) {
    if (p[i]) {
      r8[i] = p[i] % 8;
    } else {
      a[pari[i]].push_back(i);
    }
  }
  for (int r = 0; r < 2; r++) {
    vector<int> tmp{q[4], q[1], q[2], q[3]};
    tmp.erase(tmp.begin() + r);
    for (auto x : a[r]) {
      b[r + query(tmp, x) * 2].push_back(x);
    }
  }
  for (int r = 0; r < 4; r++) {
    vector<int> tmp{q[4], q[1], q[2], q[3], q[n], q[n - 1], q[n - 2], q[n - 3]};
    tmp.erase(tmp.begin() + r);
    for (auto x : b[r]) {
      if (!r) {
        c[!query(tmp, x) * 4].push_back(x);
      } else {
        c[r + query(tmp, x) * 4].push_back(x);
      }
    }
  }
  for (int r = 0; r < 8; r++) {
    for (auto x : c[r]) {
      r8[x] = r;
    }
  }
  for (int i = 1; i <= n; i++) {
    p[i] =
        crt(vector<int>{r3[i], r5[i], r7[i], r8[i]}, vector<int>{3, 5, 7, 8});
  }
  answer();
  return 0;
}