#Lutece1870. 学姐姐学

学姐姐学

Migrated from Lutece 1870 学姐姐学

All parts of this problem, including description, images, samples, data and checker, might be broken. If you find bugs in this problem, please contact the admins.

Description

学姐姐今天想知道[L,R][L,R]区间内有多少个回文数字。
回文数字是从左向右读和从右向左读是相同的,如123321123217

Input

第一行输出两个数表示L,R
10000L,R9999910000 \le L, R \le 99999

Output

输出一个数表示答案个数。

Samples

11009 11332
4
31415 92653
612

Resources

学姐姐的比武招妻