Two positive integers and are given. Find the maximum positive integer such that the number of prime numbers on the interval inclusively equals .
Two positive integers and c\:(b, c \le 10^6).
Print the maximum value of . It is known that it always exists.

Example 1