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