#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, k;
  cin >> n >> k;
  n = k + 1;
  map<int, int> mp;
  for (int i = 1; i <= n; ++i) {
    cout << "?";
    for (int j = 1; j <= n; ++j) {
      if (j != i) cout << " " << j;
    }
    cout << endl;
    int pos, a;
    cin >> pos >> a;
    ++mp[a];
  }
  cout << "! " << mp.rbegin()->second << endl;
  return 0;
}
