题目描述
The problems is to find the count of numbers between A and B (inclusive) that have sum of digits equal to S.
Also print the smallest such number between A and B (inclusive).
Input:
Single line consisting of A,B,S.
Output:
Two lines.
In first line the number of integers between A and B having sum of digits equal to S.
In second line the smallest such number between A and B.
Constraints:
1 ≤ A ≤ B < 10^15
1 ≤ S ≤ 135
SAMPLE INPUT
5 17 5
SAMPLE OUTPUT
2
5
输入格式
见题面
输出格式
见题面
样例输入
100000000000000 999999999999999 55
样例输出
5396
123456789012399