#include using namespace std; using ll=long long; #define INF 1000000000000000000 #define MOD 1000000007 #define MAX 3000000 using Graph=vector>; int main(){ int N,K; cin>>N>>K; vector A(N); for(int i=0;i>A.at(i); A.at(i)%=K+1; } int ans=0; for(int i=0;i0){ cout<<"YES"<