This is an interactive problem.
There is a secret permutation p of integers from 0 to n−1. The permutation is indexed starting from 0. You have to guess it by asking questions of the form "? a_i b_i c_i" (a_i, b_i and c_i are integers from 0 to n−1). For each such question, you will get one number in response which equals p−1(p(a_i)⋅p(b_i)+p(c_i)) (all operations are performed modulo n, and p−1(x) is such y that p(y)=x). In the end, you have to print the guessed permutation in the form "! p(0) p(1) … p(n−1)".
The only line of the input contains an integer n (1≤n≤5⋅103).
In each test, the permutation is fixed in before the contest and does not change during the guessing process.
For each test, the length n was picked by the jury, but the permutation was then generated using a pseudorandom number generator. However, the problem has a deterministic solution which works for every possible permutation.