Your task is to count the number of integers between $a$ and $b$ where no two adjacent digits are the same.
The only input line has two integers $a$ and $b$ .
Print one integer: the answer to the problem.
123 321 · \n
123 321
· \n
171 \n
171
\n