P18709 [HackerEarth] You have to simply count total numbers in range L to R such that their sum of digits is K
普及-
题目描述

You have to simply count total numbers in range L to R such that their sum of digits is K

Input
First line contains L,R and K as input.

Constraints
1 ≤ L ≤ 10^18
1 ≤ R ≤ 10^18
1 ≤ K ≤ 10^9
L is always lesser than or equal to R

SAMPLE INPUT
2 15 4

SAMPLE OUTPUT
2

Explanation

4 and 13 are the two numbers with digit sum as 4 for the given range

输入格式

见题面

输出格式

见题面

样例输入
1 150 5
样例输出
767627