A ring is composed of n (even number) circles.
Put natural numbers 1, 2, ..., n into each circle separately, and the
sum of numbers in two adjacent circles should be a prime.
Note: The number in the first circle should always be 1.
One Possible Prime Ring for n = 6.
Input Format:
The first and only line of input contains an integer $n$ denoting the number of circles.
Output Format:
You need to output $k$ lines where $k$ is the number of total combinations satisfying above condition. Each of the $k$ line should give the permutation satisfying the above condition, i.e. numbers of circles in clockwise order.
Give the lines in sorted order.