#Lutece0751. The prime number

The prime number

Migrated from Lutece 751 The prime number

All parts of this problem, including description, images, samples, data and checker, might be broken. If you find bugs in this problem, please contact the admins.

Description

Aftering learning the definition of the prime number, he is wondering how many prime numbers there are in [n,m][n,m].So he wants you to help to solve this problem.

Input

There are several test cases.For each test case, standard input contains a line with two numbers nn and mm (1nm1091\leq n\leq m\leq 10^9). The input ends with n=m=0n = m = 0.

Output

For each test case, print the answer.

Samples

输入数据 1

1 6
4 12
0 0

输出数据 1

3
3

Resources

hutu