Multiplication

아직 제출이 없습니다시간 제한2초메모리 제한512 MB

문제

This is an interactive problem.

Jury has chosen a secret odd number xx between 11 and 23112^{31}-1 inclusive. Your task is to guess it. In order to do that, jury gives you an even number nn. Then you should output exactly nn distinct integers between 00 and 23112^{31}-1 inclusive. After that, jury will multiply each of these numbers by xx and take the results modulo 2312^{31}. Then jury will equiprobably choose some random subset of these new numbers of size n/2n/2 and give this subset back to you in random order. After that, you should output the correct value of xx.

In each test, xx is chosen in advance and does not change.