For each integer
- Every element in the array is between the array's size and
, inclusive. - The array is strictly increasing.
- There are no two consecutive integers in the array.
Given an integer
Constraints
Subtask 1 [10%]
Subtask 2 [10%]
Subtask 3 [80%]
No additional constraints.
Input Specification
The only line contains an integer,
Output Specification
Output the number of good arrays modulo
Sample Input
Copy
4
Sample Output
Copy
5
Explanation for Sample
The good arrays are
Every array is strictly increasing, has elements between the array size and
Comments