#9 N-digit numbers

   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).

Specifications

   Input

   The number N is not exceeding 10.

   Output

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

Time Limit: 1 seconds
Balls for the passed test: 10
Complexity: 35%

Example

Example input

1

Example output

10 0


Problem URL: http://www.e-olimp.com.ua/en/problems/9