Setsuna has been fascinated by coprime pairs recently, so she decided to play a game about numbers.
Here are integers . Setsuna wants to divide the numbers into as few groups as possible so that each number is exactly in one group and the numbers in each group are coprime with each other.
We say that positive integers and are coprime if and only if , where refers to their greatest common divisor.
However, Setsuna is not good at math, so she only comes up with a fake algorithm.

Her greedy algorithm is obviously wrong, so we need to hack her solution.
You are given one integer . You need to find the input consisting of integers and a corresponding partition to the input(not necessarily be the minimum partition), which satisfies , where is the number of groups of your partition and is the answer of her algorithm to your input.
It can be proved that the answer always exists.
输入格式
The input contains one integer .
输出格式
In the first line, output two integers .
In the second line, output integers , separated by spaces.
In the third line, output integers , separated by spaces, where indicates which group is divided into.
If there are multiple solutions, you can output any.
样例
Output
4 2
8 3 45 100
1 2 1 2
提示
In the sample, Setsuna will get groups: , but we have a better partition: .