Recall that the factorial function is defined as follows:
Given integers and
, please find the number of natural numbers
such that
has a number of trailing zeros in the range of
.
Constraints
Subtask 1 [20%]
Subtask 2 [30%]
Subtask 3 [50%]
Input Specification
The first line of the input contains the two integers and
.
Output Specification
The number of values of that satisfy the condition.
Sample Input
0 2
Sample Output
14
Explanation
is the first element that satisfies the condition, and
is the last element. Hence, there are
values of
that satisfy the condition.
Comments
In the explanation you imply that natural numbers are 1,2,3, etc. but in the input specification you say
Natural numbers of set
can be
or 
Wikipedia says there's no agreement on which one is "standard", whether
is included or not.
The set
is used to specify positive numbers only, 
Yes, but this problem's usage of natural numbers isn't consistent which led to confusion.