100 atcoder#ARC084B. [ABC077D] Small Multiple
[ABC077D] Small Multiple
Score : points
Problem Statement
Find the smallest possible sum of the digits in the decimal notation of a positive multiple of .
Constraints
- is an integer.
Input
Input is given from Standard Input in the following format:
Output
Print the smallest possible sum of the digits in the decimal notation of a positive multiple of .
6
3
yields the smallest sum.
41
5
yields the smallest sum.
79992
36