Killjee gives you two numbers and and a digit . You need to find how many numbers are there which are greater than equal to L and less than equal to R and have digit in them.
INPUT
Input contains 3 space separated integer .
OUTPUT
Print answer to the problem.
CONSTRAINTS
10,11,12,13,14,15,16,17,18,19,21,31,41,51,61,71,81,91,100 contains 1 as their digit.