Two positive integers a and c are given. Find the minimum positive integer b such that the number of prime numbers on the interval [a;b] inclusively equals to c.
Two positive integers a and c(a,c≤106).
Print the minimum value of b.