package contest191129; import java.io.PrintWriter; import java.util.Arrays; import java.util.Scanner; public class CT { static Scanner in; static PrintWriter out; static String INPUT = ""; static void solve() { int n = ni(); int[] mz = new int[n]; int p = 0; for(int i = 1;i <= n;i++) { out.println("? " + (n-1)); for(int j = 1;j <= n;j++) { if(i != j)out.print(j + " "); } out.println(); out.flush(); int res = ni(); if(res == 0) { mz[p++] = i; } } out.println("! " + p); for(int i = 0;i < p;i++) { out.print(mz[i] + " "); } out.println(); out.flush(); } public static void main(String[] args) throws Exception { in = INPUT.isEmpty() ? new Scanner(System.in) : new Scanner(INPUT); out = new PrintWriter(System.out); solve(); out.flush(); } static int ni() { return Integer.parseInt(in.next()); } static long nl() { return Long.parseLong(in.next()); } static double nd() { return Double.parseDouble(in.next()); } static void tr(Object... o) { if(INPUT.length() != 0)System.out.println(Arrays.deepToString(o)); } }