Time limit: 0.5s
Memory limit: 256MB
Input:
Output:
Besides the delicacy that is freshmen blood drank during the Halloween night, Luna also enjoys prime numbers a lot... and the number ... so she gives you a number and demands the number of different ways that the number can be written as a sum of prime numbers.
Because you won't risk getting your blood drank by Luna, you decide to answer her demands.
Input data
The only line of input contains one integer ()
Output data
Output a single integer - the number of ways to write as sum of prime numbers.
Constraints and clarifications
- For points it is guaranteed that ;
- For another points it is guaranteed that ;
- For the other points, .
Example
stdin
7
stdout
1
Explanation
The only correct way of expressing as sum of prime numbers is . Permutations of the same prime numbers won't count (such as )