#include <bits/stdc++.h>
using namespace std;
const int N = 1e5 + 74, OO = 0x3f3f3f3f;
class DStrangeDevice {
 public:
  void solve(istream& cin, ostream& cout) {
    int n, k;
    cin >> n >> k;
    map<int, int> mp;
    for (int i = 1; i <= k + 1; i++) {
      cout << "? ";
      for (int j = 1; j <= k + 1; j++) {
        if (i != j) cout << j << ' ';
      }
      cout << endl;
      int a;
      cin >> a >> a;
      mp[a]++;
    }
    cout << "! " << mp.rbegin()->second << endl;
  }
};
int main() {
  ios::sync_with_stdio(false), cin.tie(nullptr), cout.tie(nullptr);
  DStrangeDevice solver;
  std::istream& in(std::cin);
  std::ostream& out(std::cout);
  solver.solve(in, out);
  return 0;
}
