Primes at the interval
Easy
Execution time limit is 1 second
Runtime memory usage limit is 128 megabytes
Two positive integers and are given. Find the maximum positive integer such that the number of prime numbers on the interval inclusively equals to .
Input
Two positive integers and .
Output
Print the maximum value of . It is known that it usually exists.
Examples
Input #1
Answer #1
Submissions 1K
Acceptance rate 47%