Your math teacher has given the following task for homework: given a positive integer , find a sequence of positive integers , such that
and
You quickly solve this task and by doing so, you convince yourself that such a sequence always exists but then you start thinking about the question: „Given a positive integer , what is the number of sequences with the above properties?"
Task
Write a program which for a given positive integer finds the number of sequences of positive integers , such that
and
Input
From one line of the standard input, read one positive integer - the count of the numbers in the sequences.
Output
On one line of the standard output, the program has to write the found number of sequences. We know, it can be proven that given the constraints below, the answer is a finite number smaller than .
Constraints
Subtask
Subtask 1 (5 points)
Subtask 2 (10 points)
Subtask 3 (10 points)
Subtask 4 (10 points)
Subtask 5 (20 points)
Subtask 6 (45 points)
Examples
stdin
2
stdout
1
Explanation
There is only one sequence with the specified properties and it is
stdin
8
stdout
2
Explanation
and