#include <bits/stdc++.h>
using namespace std;
int n, k;
int query(int except) {
  cout << '?';
  for (int i = 1; i <= k + 1; ++i)
    if (i != except) cout << ' ' << i;
  cout << endl;
  int pos, a;
  cin >> pos >> a;
  return a;
}
int main() {
  ios::sync_with_stdio(false);
  cin >> n >> k;
  int val1 = query(1), cnt1 = 1, val2 = -1, cnt2 = 0;
  for (int i = 2; i <= k + 1; ++i) {
    int x = query(i);
    if (x == val1)
      ++cnt1;
    else {
      if (val2 == -1) val2 = x;
      if (x == val2)
        ++cnt2;
      else
        return 1;
    }
  }
  cout << "! " << (val1 > val2 ? cnt1 : cnt2) << endl;
}
