CSES - HIIT Open 2019 - Epic Subset
  • Time limit: 1.00 s
  • Memory limit: 512 MB

Given a positive integer nn, create a maximum-size subset X{1,2,,n}X \subseteq \{1,2,\dots,n\} such that for all distinct integers a,b,c,dXa,b,c,d \in X, a+bc+da+b \neq c+d.

Input

The only input line has an integer nn.

Output

First print an integer kk: the number of elements in XX. Then, print an example how to construct XX. You can print any valid solution.

Constraints

  • 1n801 \le n \le 80

Example

Input:

11

Output:

5
2 4 6 9 10