#include using namespace std; bool ans[1010]; int main() { int n; cin >> n; int k = 0; for(int i = 1; i <= n; ++i) { cout << "? " << n - 1 << '\n'; bool f = true; for(int j = 1; j <= n; ++j) { if(f and j != i) { cout << j; f = false; } else if(j != i) { cout << " " << j; } } cout << '\n'; cout.flush(); cin >> ans[i]; if(not ans[i]) ++k; } cout << "! " << k << '\n'; bool f = true; for(int j = 1; j <= n; ++j) { if(f and not ans[j]) { cout << j; f = false; } else if(not ans[j]) { cout << " " << j; } } cout << '\n'; return 0; }