eolymp
bolt
Try our new interface for solving problems
Problems

The sum of products of digits

The sum of products of digits

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

For example, for k = 2 the two-digit numbers are 10, 11, 12, ..., 98, 99. The sum of products of its digits is 1 * 0 + 1 * 1 + 1 * 2 + ... + 9 * 8 + 9 * 9 = 2025.

Input

One positive integer k (k10).

Output

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

Time limit 1 second
Memory limit 128 MiB
Input example #1
2
Output example #1
2025
Author Ramin Mahmudzade