#H2026L. Let the Bullet Fly

Let the Bullet Fly

Problem Description

Given a positive integer nn. You need to construct a permutation pp of length 2n2n (i.e., each integer from 11 to 2n2n appears exactly once) such that for all i=1,2,,ni = 1, 2, \dots, n:

p2i1p2ii(modn)|p_{2i-1} - p_{2i}| \equiv i \pmod{n}

That is, after pairing the elements into nn pairs, the absolute difference of the ii-th pair modulo nn must be equal to ii.

Please output any valid construction, or report that no such permutation exists.


Input

The input contains a single integer nn (1n1051 \le n \le 10^5).


Output

If no such permutation exists, output a single line containing -1.

Otherwise, output a single line containing 2n2n integers p1,p2,,p2np_1, p_2, \dots, p_{2n}, representing your constructed permutation. If there are multiple valid constructions, you may output any of them.


Examples

Example 1

Input

3

Output

1 5 2 4 3 6

Explanation

Check the pairs:

  • Pair 1: 15=41(mod3)|1-5| = 4 \equiv 1 \pmod{3}
  • Pair 2: 24=22(mod3)|2-4| = 2 \equiv 2 \pmod{3}
  • Pair 3: 36=30(mod3)|3-6| = 3 \equiv 0 \pmod{3}

Example 2

Input

4

Output

7 8 2 4 3 6 1 5

Explanation

Check the pairs:

  • Pair 1: 78=11(mod4)|7-8| = 1 \equiv 1 \pmod{4}
  • Pair 2: 24=22(mod4)|2-4| = 2 \equiv 2 \pmod{4}
  • Pair 3: 36=33(mod4)|3-6| = 3 \equiv 3 \pmod{4}
  • Pair 4: 15=40(mod4)|1-5| = 4 \equiv 0 \pmod{4}

Example 3

Input

2

Output

-1

Explanation

When n2(mod4)n \equiv 2 \pmod{4} (here n=2n = 2), no valid permutation exists, so we output -1.


Constraints

  • 1n1051 \le n \le 10^5