Constant sum of digits#7338

Constant sum of digits

1 second
128 megabytes
Very easy

Find the amount of two-digit numbers that do not change their sum of digits when multiplying a number by a single-digit integer ( = .. ).

Input

One integer ( ≤ ≤ ).

Output

Print the required amount of two-digit numbers.

Examples

Example 1

Loading
Loading