The sum of products of digits#8683

The sum of products of digits

1 second
128 megabytes
Very easy

Find the sum of products of all digits for -digit numbers.

For example, for k = 2 the two-digit numbers are , , , , , . The sum of products of their digits is 1 \cdot 0 + 1 \cdot 1 + 1 \cdot 2 + \ldots + 9 \cdot 8 + 9 \cdot 9 = 2025.

Input

One positive integer (k \leq 10).

Output

Print the sum of products of all digits for -digit numbers.

Examples

Example 1

Loading
Loading