#include #define rep(i,n) for(int i = 0; i < (n); i++) using namespace std; typedef long long ll; int main(){ cin.tie(0); ios::sync_with_stdio(0); int N; cin >> N; vector b; rep(i,N) { cout << "?" << " " << N - 1 << endl; rep(j,N) if(j != i) cout << j + 1 << " "; cout << endl; cout.flush(); int ans; cin >> ans; if(ans == 0) b.push_back(i + 1); } cout << "!" << " " << b.size() << endl; for(int x : b) cout << x << " "; cout << endl; cout.flush(); }