We call a natural number supernatural if it does not contain any ones in its decimal representation and the product of its digits is equal to . For given , find how many supernatural numbers exist.
Contains a single integer not exceeding 2 \times 10^9.
Print the total number of supernatural numbers modulo .
Example 1