Let and be two integers. Consider the following set:
= { | prime and }.
Find the cardinality of the set .
Consists of several tests. The input of each test is represented on a single line. Any two consecutive tests are separated by an empty line. For each test, the values for and are given on the same line, separated by exactly one space.
For each test, the result will be written on a different line (the tests will have the same order as in the input). The results of any two consecutive tests will be separated by an empty line. For each test, the result will be the cardinal of the set .