Cuperman defines CS203 Lucky number as that if you rotate the number 180 degrees the number will not change. For example, 69, 96, 111, 181 are lucky numbers. 87, 76 are not.(0, 1, 8 will not change in this way, 6 will change into 9, 9 will change into 6. 2 and 5 can't change to each other) Now Cuperman wants to know the number of CS203 lucky number between range L and R, so she asked Huang Bo, as you know, Huang Bo is lazy, he wants you to solve this problem!