A number can be a real number, a natural number or it can simply be an integer which can be represented on a number line. A number is called palindromic if its decimal representation is a palindrome. You are given a range, described by a pair of integers A and B. Find the sum of all palindromic numbers lying in the range [A, B], inclusive of both the extremes.
Input
The first line of each input contains a pair of space separated integers A and B denoting the range for which you are required to find the sum of the palindromic numbers.
Output
Output a single line containing the sum of all the palindromic numbers in the given range.
Constraints
1 ≤ A ≤ B ≤ 500
Example
Input:
123 150
Output:
272
Explanation
Example case: The palindromic numbers between 123 and 150 are 131 and 141 and their sum is 272.