A palindromic number is a number that remains the same when its digits are reversed.
For instance,the first palindromic numbers are:
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 22, 33, 44, 55, 66, 77, 88, 99, 101, 111, ...
Now your task is answer the queries about the palindromic numbers between a interval [a,b].