408190: GYM103048 K K-Primes

Memory Limit:512 MB Time Limit:1 S
Judge Style:Text Compare Creator:
Submit:0 Solved:0

Description

K. K-Primestime limit per test1 secondmemory limit per test512 megabytesinputstandard inputoutputstandard output

Given $$$l$$$ and $$$k$$$, Cuber QQ wants you to answer if there are more than $$$k$$$ primes (i.e., at least $$$k+1$$$ primes) in $$$[l,l+2k)$$$.

Input

One line with two space-separated integers $$$l,k\;(1\le l,k\le 10^8)$$$.

Output

One line with "Yes" or "No".

ExamplesInput
3 3
Output
No
Input
2 1
Output
Yes

加入题单

算法标签: