#include <bits/stdc++.h>
using namespace std;
using LL = long long;
using ULL = unsigned long long;
using PII = pair<int, int>;
using PIL = pair<int, LL>;
using PLL = pair<LL, LL>;
inline void quickread() {
  ios::sync_with_stdio(false);
  cin.tie(nullptr);
}
int n, k, dummy, x;
int main() {
  quickread();
  cin >> n >> k;
  vector<int> v;
  for (int i = 1; i <= k + 1; ++i) {
    cout << "?";
    for (int j = 1; j <= k + 1; ++j) {
      if (i != j) {
        cout << " " << j;
      }
    }
    cout << endl;
    cin >> dummy >> x;
    v.push_back(x);
  }
  sort(v.begin(), v.end(), greater<int>());
  for (int i = 0; i < v.size() - 1; ++i) {
    if (v[i] > v[i + 1]) {
      cout << "! " << i + 1 << endl;
    }
  }
  return 0;
}
