This is an interactive problem.
Jury has chosen a secret odd number x between 1 and 231−1 inclusive. Your task is to guess it. In order to do that, jury gives you an even number n. Then you should output exactly n distinct integers between 0 and 231−1 inclusive. After that, jury will multiply each of these numbers by x and take the results modulo 231. Then jury will equiprobably choose some random subset of these new numbers of size n/2 and give this subset back to you in random order. After that, you should output the correct value of x.
In each test, x is chosen in advance and does not change.