题目描述
This problem is as simple as short. Just find how many numbers from A to B with sum of digits from X to Y are divisible by K.
Input
The first line contains 5 space-separated positive integers: A, B, X, Y, K
Output
Output one number - answer for the question.
Constraints
0 < A, B, K ≤ 10^13
0 < X, Y ≤ 1000
A ≤ B
0 < A, B, ≤ 10^7 in 32 % of the test data
SAMPLE INPUT
5 86 1 6 4
SAMPLE OUTPUT
6
Explanation
There are 6 such numbers: 12, 20, 24, 32, 40, 60
输入格式
见题面
输出格式
见题面
样例输入
5 86 1 6 4
SAMPLE
样例输出
6