We will call a number "mirror prime", if it is prime, and the number written in a reverse order is also prime.
Find the number of "mirror primes" from a to b.
Two integers a and b (1 ≤ a ≤ b ≤ 10000).
Print the number of "mirror primes" from a to b inclusive.