We call a number a "mirror prime" if it is prime, and the number obtained by reversing its digits is also prime.
Find the number of "mirror primes" in the interval from to , inclusive.
Two integers and (1 \le a \le b \le 10000).
Print the number of "mirror primes" in the interval from to , inclusive.
Example 1