ll@n,@p;wt(gcd(n+1,p-1)>1?"Yes":"No");