Problem: Pay attention: this problem is interactive.

Penguin Xoriy came up with a new game recently. He has n icicles numbered from 1 to n. Each icicle has a temperature — an integer from 1 to 109. Exactly two of these icicles are special: their temperature is y, while a temperature of all the others is x ≠ y. You have to find those special icicles. You can choose a non-empty subset of icicles and ask the penguin what is the bitwise exclusive OR (XOR) of the temperatures of the icicles in this subset. Note that you can't ask more than 19 questions.

You are to find the special icicles.

Input

The first line contains three integers n, x, y (2 ≤ n ≤ 1000, 1 ≤ x, y ≤ 109, x ≠ y) — the number of icicles, the temperature of non-special icicles and the temperature of the special icicles.

Output

To give your answer to the penguin you have to print character "!" (without quotes), then print two integers p1, p2 (p1 < p2) — the indexes of the special icicles in ascending order. Note that "!" and p1 should be separated by a space; the indexes should be separated by a space too. After you gave the answer your program should terminate immediately.

Interaction

To ask a question print character "?" (without quotes), an integer c (1 ≤ c ≤ n), and c distinct integers p1, p2, ..., pc (1 ≤ pi ≤ n) — the indexes of icicles that you want to know about. Note that "?" and c should be separated by a space; the indexes should be separated by a space too.

After you asked the question, read a single integer — the answer.

Note that you can't ask more than 19 questions. If you ask more than 19 questions or at least one incorrect question, your solution will get "Wrong answer".

If at some moment your program reads  - 1 as an answer, it should immediately exit (for example, by calling exit(0)). You will get "Wrong answer" in this case, it means that you asked more than 19 questions, or asked an invalid question. If you ignore this, you can get other verdicts since your program will continue to read from a closed stream.

Your solution will get "Idleness Limit Exceeded", if you don't print anything or forget to flush the output, including for the final answer .

To flush you can use (just after printing): 

  * fflush(stdout) in C++; 
  * System.out.flush() in Java; 
  * stdout.flush() in Python; 
  * flush(output) in Pascal; 
  * For other languages see the documentation. 



Hacking

For hacking use the following format:

n x y p1 p2

Here 1 ≤ p1 < p2 ≤ n are the indexes of the special icicles.

Contestant programs will not be able to see this input.

Example

Input

4 2 1
2
1
1<span class="tex-font-style-it"></span>

Output

? 3 1 2 3
? 1 1
? 1 3
! 1 3

Note

The answer for the first question is <image>.

The answer for the second and the third questions is 1, therefore, special icicles are indexes 1 and 3.

You can read more about bitwise XOR operation here: <https://en.wikipedia.org/wiki/Bitwise_operation#XOR>.

Solution (in JAVA):

Solution:
import java.io.*;
import java.util.*;

public class Main {

    public static void main(String[] args) throws IOException {

        new Main().solve();
    }

    int inf = 2000000000;
    int mod = 1000000007;
    double eps = 0.000000001;

    PrintWriter out;

    //int n;
    int m;
    int k;

    //ArrayList<Integer>[] g = new ArrayList[110];

    int maxn = 0;
    int[][] g;

    void solve() throws IOException {

        Reader in;
        BufferedReader br;

        try {

            //br = new BufferedReader( new FileReader("input.txt") );
            in = new Reader("input.txt111");
            out = new PrintWriter( new BufferedWriter(new FileWriter("output.txt")) );
        }
        catch (Exception e) {

            //br = new BufferedReader( new InputStreamReader( System.in ) );
            in = new Reader();
            out = new PrintWriter( new BufferedWriter(new OutputStreamWriter(System.out)) );
        }

        int n = in.nextInt();
        int x = in.nextInt();
        int y = in.nextInt();

        boolean[] diff = new boolean[10];

        int p = -1;

        for (int i = 0; i < 10; i++) {



            ArrayList<Integer> list = new ArrayList<>();

            for (int j = 0; j < n; j++) {
                if (((j+1)&(1 << i)) > 0) {
                    list.add(j+1);
                }
            }

            if (list.size() == 0)
                continue;

            System.out.print("? ");

            System.out.print(list.size()+" ");
            for (int k : list)
                System.out.print(k+" ");

            System.out.println();

            int ans = in.nextInt();
            if (ans != 0 && ans != x) {

                diff[i] = true;
            }
        }

        int b = -1;

        do {
            b++;
            if (diff[b]) {

                int l = 0;
                int len = 256;

                while (len >= 1) {

                    ArrayList<Integer> list = new ArrayList<>();

                    int cursz = 0;
                    int r = l;
                    System.out.print("? ");
                    for (int i = l; i < n; i++) {

                        if ((i & (1 << b)) > 0) {
                            list.add(i+1);
                            cursz++;
                            r = i;
                        }
                        if (cursz == len)
                            break;
                    }

                    System.out.print(list.size()+" ");
                    for (int k : list)
                        System.out.print(k+" ");

                    System.out.println();

                    int ans = in.nextInt();
                    if (ans == 0 || ans == x) {

                        l = r+1;
                    }

                    p = l;
                    while ((p & (1 << b)) == 0)
                        p++;

                    len /= 2;

                    if (cursz == 1)
                        break;
                }
            }
        } while (!diff[b]);
        int p2 = 0;
        p++;

        for (int i = 0; i < 10; i++)
            if (diff[i]) {
                p2 |= (~p & (1 << i));
            }
            else {
                p2 |= (p & (1 << i));
            }

        if (p > p2) {
            p += p2;
            p2 = p - p2;
            p -= p2;
        }

        out.println("! " + p + " " + p2);

        out.flush();
        out.close();
    }



    class Pair implements Comparable<Pair>{

        int a;
        int b;

        Pair(int a, int b) {
            this.a = a;
            this.b = b;
        }

        public int compareTo(Pair p) {
            if (a > p.a) return -1;
            if (a < p.a) return 1;
            return 0;
        }
    }

    class Item {

        int a;
        int b;
        int c;

        Item(int a, int b, int c) {
            this.a = a;
            this.b = b;
            this.c = c;
        }

    }

    class Reader {

        BufferedReader  br;
        StringTokenizer tok;

        Reader(String file) throws IOException {
            br = new BufferedReader( new FileReader(file) );
        }

        Reader() throws IOException {
            br = new BufferedReader( new InputStreamReader(System.in) );
        }

        String next() throws IOException {

            while (tok == null || !tok.hasMoreElements())
                tok = new StringTokenizer(br.readLine());
            return tok.nextToken();
        }

        int nextInt() throws NumberFormatException, IOException {
            return Integer.valueOf(next());
        }

        long nextLong() throws NumberFormatException, IOException {
            return Long.valueOf(next());
        }

        double nextDouble() throws NumberFormatException, IOException {
            return Double.valueOf(next());
        }


        String nextLine() throws IOException {
            return br.readLine();
        }

    }

}