Easy

Execution time limit is 1 second

Runtime memory usage limit is 64 megabytes

Find the quantity of N-digit numbers, which the sum is equal to their product. Call the least from numbers for given `N`

(`N < 10`

).

The number `N`

is not exceeding 10.

In output file have written 2 numbers: a quantity of numbers and a less number through blank.

Input #1

Answer #1