#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  long long int n, k;
  cin >> n >> k;
  long long int i, j, pos, val;
  map<long long int, long long int> mp;
  for (i = 1; i <= k + 1; i++) {
    cout << "? ";
    for (j = 1; j <= k + 1; j++) {
      if (i != j) cout << j << " ";
    }
    cout << endl;
    cin >> pos >> val;
    mp[val]++;
  }
  for (auto l = mp.rbegin(); l != mp.rend(); l++) {
    cout << "! " << l->second << endl;
    return 0;
  }
  return 0;
}
