The distance between two integers is defined as the sum of the absolute result of subtracting their digits. For example, the distance between the numbers
You are given two integers
Input Specification
The first and only line of input contains integers
Output Specification
The first and only line of output must contain the required number from the text. Given that the number could be extremely large, output the answer modulo
Scoring
In test cases worth
In test cases worth
Sample Input 1
1 5
Sample Output 1
40
Sample Input 2
288 291
Sample Output 2
76
Explanation for Sample Output 2
The distances are, respectively,
Sample Input 3
1000000 10000000
Sample Output 3
581093400
Comments