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;
int in() {
  int x;
  cin >> x;
  return x;
}
long long lin() {
  long long x;
  cin >> x;
  return x;
}
template <class T>
inline bool chmax(T& a, T b) {
  if (a < b) {
    a = b;
    return 1;
  }
  return 0;
}
template <class T>
inline bool chmin(T& a, T b) {
  if (a > b) {
    a = b;
    return 1;
  }
  return 0;
}
template <class T>
inline void print(pair<T, T> p) {
  cout << "(" << p.first << "," << p.second << ") ";
}
template <class T>
inline void print(vector<pair<T, T>> v) {
  for (auto e : v) print(e);
  cout << "\n";
}
template <class T>
inline void print(T v) {
  for (auto e : v) cout << e << " ";
  cout << "\n";
}
long double eps = 1e-8;
mt19937 rng(chrono::steady_clock::now().time_since_epoch().count());
int rnd(int n) { return uniform_int_distribution<int>(0, n)(rng); }
double drnd() { return (double)(rnd(INT_MAX)) / INT_MAX; }
const long long MOD = 1e9 + 7;
const int N = 2100000;
void shuffle(vector<int>& x) {
  int n = x.size();
  for (long long i = n - 1; i >= 1; i--) {
    swap(x[i], x[rnd(i - 1)]);
  }
}
vector<int> id;
int cont = 0;
bool ask(int k, vector<int> x) {
  cont++;
  if (k == 0) return false;
  cout << "? " << k << " ";
  for (auto e : x) cout << e << " ";
  cout << "\n";
  cout.flush();
  bool f;
  cin >> f;
  return f;
}
int __gcd(int x, int y) {
  if (x == 0)
    return y;
  else
    return __gcd(y % x, x);
}
int inv[810], p[810];
int main() {
  int n = in();
  for (long long i = 0; i < n; i++) id.push_back(i + 1);
  do {
    shuffle(id);
  } while (id[0] > n / 2);
  if (n == 2) {
    cout << "! 1 2\n";
    cout.flush();
    return 0;
  }
  vector<int> s;
  for (long long i = 1; i <= n; ++i) s.emplace_back(i);
  shuffle(s);
  set<int> nex;
  for (auto e : s) nex.insert(e);
  int cnt = 0;
  for (long long i = 0; i < n; i++) {
    auto tmp = s;
    tmp.erase(tmp.begin() + i);
    if (ask(n - 1, tmp)) {
      if (cnt) {
        inv[1] = s[i];
        p[s[i]] = 1;
      } else {
        inv[n] = s[i];
        p[s[i]] = n;
      }
      nex.erase(s[i]);
      cnt++;
    }
    if (cnt == 2) break;
  }
  s = vector<int>();
  for (auto e : nex) s.push_back(e);
  for (long long t = 2; t <= 8; ++t) {
    shuffle(s);
    set<int> next;
    for (auto e : s) next.insert(e);
    int cnt = 0;
    for (long long i = 0; i < s.size(); i++) {
      auto tmp = s;
      tmp.erase(tmp.begin() + i);
      if (ask(tmp.size(), tmp)) {
        cnt++;
        next.erase(s[i]);
        if (ask(2, {inv[1], s[i]}) ^ (t & 1) == 0) {
          inv[t] = s[i];
          p[s[i]] = t;
          if (t == 8) break;
        } else {
          inv[n + 1 - t] = s[i];
          p[s[i]] = n + 1 - t;
          if (t == 8) {
            for (long long i = 1; i <= n; ++i) {
              if (p[i]) {
                p[i] = n + 1 - p[i];
                inv[p[i]] = i;
              }
            }
            break;
          }
        }
        if (cnt == 2) break;
      }
    }
    if (s.size() == 0) break;
    vector<int> ss;
    for (auto e : next) ss.push_back(e);
    s = ss;
  }
  vector<int> m;
  int mi = 100, ans;
  for (long long mask = 0; mask < 1 << 8; mask++) {
    int tmp = 1, sum = 0;
    for (long long j = 0; j < 8; j++) {
      if (mask & (1 << j)) {
        tmp = (tmp * (j + 1) / __gcd(tmp, j + 1));
        sum += j + 2;
      }
    }
    if (tmp >= n and chmin(mi, sum)) ans = mask;
  }
  for (long long j = 0; j < 10; j++) {
    if (ans & (1 << j)) m.push_back(j + 1);
  }
  auto rem = vector<vector<int>>(n + 1, vector<int>(8));
  vector<int> res;
  for (long long i = 9; i <= n - 8; ++i) res.push_back(i);
  if (s.size() == 0) {
    goto end;
  }
  for (long long i = 0; i < m.size(); i++) {
    int mod = m[i];
    if (m[i] == 8) {
      for (long long j = 1; j <= n; ++j) {
        if (p[j]) continue;
        for (mod = 2; mod <= 8; mod *= 2) {
          vector<int> tmp;
          for (long long jj = 1; jj <= mod; ++jj) {
            tmp.push_back(inv[jj]);
          }
          if (mod == 2) {
            tmp[1] = j;
          }
          if (mod == 4) {
            if (rem[j][i])
              tmp[0] = j;
            else
              tmp[3] = j;
          }
          if (mod == 8) {
            if (rem[j][i] == 0)
              tmp[7] = j;
            else
              tmp[rem[j][i] - 1] = j;
          }
          int T = ask(tmp.size(), tmp);
          int sum = (mod + 1) * mod / 2 - 2;
          if (T) rem[j][i] += mod / 2;
        }
        vector<int> prob;
        for (auto e : res) {
          bool flag = true;
          for (long long k = 0; k < i + 1; k++) {
            if (rem[j][k] != e % m[k]) flag = false;
          }
          if (flag) prob.push_back(e);
        }
        if (prob.size() == 1) {
          p[j] = prob[0];
          for (long long i = 0; i < res.size(); i++) {
            if (res[i] == prob[0]) {
              res.erase(res.begin() + i);
              break;
            }
          }
        }
      }
      continue;
    }
    vector<int> t;
    for (long long j = 1; j <= mod; ++j) t.push_back(inv[j]);
    for (long long j = 1; j <= n; ++j) {
      if (p[j]) continue;
      vector<pair<int, vector<int>>> q;
      for (long long k = 0; k < mod; k++) {
        vector<int> tmp = t;
        tmp[k] = j;
        int sum = 0;
        for (long long iii = 1; iii <= mod; ++iii)
          if (iii != k + 1) sum += iii;
        sum %= mod;
        sum = (mod - sum) % mod;
        q.push_back({sum, tmp});
      }
      for (auto p : q) {
        auto tmp = p.second;
        if (p == q.back() || ask(tmp.size(), tmp)) {
          rem[j][i] += p.first;
          break;
        }
      }
      vector<int> prob;
      for (auto e : res) {
        bool flag = true;
        for (long long k = 0; k < i + 1; k++) {
          if (rem[j][k] != e % m[k]) flag = false;
        }
        if (flag) prob.push_back(e);
      }
      if (prob.size() == 1) {
        p[j] = prob[0];
        for (long long i = 0; i < res.size(); i++) {
          if (res[i] == prob[0]) {
            res.erase(res.begin() + i);
            break;
          }
        }
      }
    }
  }
  for (long long i = 1; i <= n; ++i) {
    if (p[i]) continue;
    for (long long j = 1; j <= n; ++j) {
      bool flag = true;
      for (long long k = 0; k < m.size(); k++) {
        if (j % m[k] != rem[i][k]) flag = false;
      }
      if (flag) p[i] = j;
    }
  }
end:
  if (p[1] > n / 2) {
    for (long long i = 1; i <= n; ++i) {
      p[i] = n + 1 - p[i];
    }
  }
  cout << "! ";
  for (long long i = 1; i <= n; ++i) cout << p[i] << " ";
  cout << "\n";
  cout.flush();
  ;
}