The program takes a natural number n as input. It should output the count of n-digit natural numbers where all the digits are distinct.
A natural number n (n \leq 10).
The number of n-digit natural numbers with unique digits.
Example 1