Reading numbers are hard. Especially when the numbers are able to go up to .
This time, and
. can read a given integer if the number read backwards is the same when the number is read forward.
Can you help and
that he can read?
Input Specification
The first and only line of input will contain two space-separated integers, and
.
Output Specification
You are to output a single integer: the amount of numbers between and
that can read.
Sample Input 1
90 120
Sample Output 1
3
Sample Explanation
The numbers that
can read are:- 99
- 101
- 111
Comments