The following two operations may be applied to a sequence consisting only of odd integers.
- Choose two elements at distinct positions in the current sequence. Let . Remove from the sequence, then add to the sequence.
- Choose two elements at distinct positions in the current sequence. Remove from the sequence, then add to the sequence, where denotes bitwise AND.
You are given an integer . Construct a sequence of length for which the minimum number of operations required to leave exactly one element equal to is exactly .
Input
The input is given in the following format.
Output
On the first line, print the given length of the sequence.
On the second line, print the sequence elements , separated by spaces.
The printed sequence must satisfy all conditions in the statement. If there are multiple solutions, print any of them.
The output format is as follows.
Constraints
- .
- ().
- Every is odd ().