#include <bits/stdc++.h>
using namespace std;
const int N = 100001;
void print(vector<int>& vec) {
  printf("? ");
  for (int i : vec) printf("%d ", i);
  printf("\n");
  fflush(stdout);
}
int main() {
  int n, k;
  scanf("%d%d", &n, &k);
  vector<int> tmp;
  for (int i = 1; i <= k + 1; i++) {
    vector<int> vec;
    for (int j = 1; j <= k + 1; j++)
      if (i != j) vec.push_back(j);
    print(vec);
    int a, b;
    scanf("%d%d", &a, &b);
    tmp.push_back(b);
  }
  int maxi = tmp[0], cnt = 1;
  for (int i = 1; i < tmp.size(); i++)
    if (tmp[i] > maxi)
      maxi = tmp[i], cnt = 1;
    else if (tmp[i] == maxi)
      cnt++;
  printf("! %d", cnt);
  fflush(stdout);
  return 0;
}
