#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, k;
  cin >> n >> k;
  int i, j;
  multiset<int> s;
  int maxi = -1;
  for (i = 1; i <= k + 1; i++) {
    cout << "? ";
    for (j = 1; j <= k + 1; j++)
      if (j != i) cout << j << " ";
    cout << endl;
    cout.flush();
    int pos, temp;
    cin >> pos >> temp;
    s.insert(temp);
    if (temp > maxi) maxi = temp;
  }
  cout << "! " << s.count(maxi) << endl;
}
