An integer greater than can be uniquely written as the product of prime factors if the factors are listed in non-decreasing order. However, when presenting an integer as a sum of prime numbers (also listed in non-decreasing order), there may be several different decompositions. For example, the number can be decomposed into primes in different ways:
Write a program to find the number of ways the given number can be decomposed into a sum of prime addends.
A single natural number (1 < n \leq 5000).
Print the number of decompositions of the given number into prime addends.
Example 1