#include int ri() { int n; scanf("%d", &n); return n; } int main() { int n = ri(); std::vector res; for (int i = 1; i <= n; i++) { std::cout << "? " << n - 1 << std::endl; for (int j = 1; j <= n; j++) if (i != j) std::cout << j << " "; std::cout << std::endl; if (!ri()) res.push_back(i); } std::cout << "! " << res.size() << std::endl; for (auto i : res) std::cout << i << " "; std::cout << std::endl; return 0; }