Roundgod is given

, construct a permutation

of

satisfying that for all integers

in

, there exists a contiguous subarray in

of length

whose sum is

modulo

. If there are multiple solutions, print any of them. If there is no solution, print "-1" in one line.
输入描述:
The first line contains two integers
.
输出描述:
Print
integers, the answer permutation in one line if such permutation exists, or print "-1" in one line if no solution exists.