Constant sum of digits
Very easy
Execution time limit is 1 second
Runtime memory usage limit is 128 megabytes
Find the amount of two-digit numbers that do not change their sum of digits when multiplying a number by a single-digit integer n (n = 0 .. 9).
Input
One integer n (0 ≤ n ≤ 9).
Output
Print the required amount of two-digit numbers.
Examples
Input #1
Answer #1
Submissions 8K
Acceptance rate 41%