Tyomitch calls the number with digits (without leading zeroes) "interesting", if it's divisible by both the number formed from its first digits and the number formed from its last digits. For example, is "interesting" (divisible by and ) and is not. Tyomitch wants to know how many "interesting" -digit numbers exist. You are to help him.
One integer ( ≤ ≤ ).
Print the number of "interesting" -digit numbers.
Example 1