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