#include #include using namespace std; int main (){ int n,k; cin >> n >> k; int turn = 0; for(int i=0; i> a; if ( a == 0 ) ; else if ( a <= k ) turn ++; else if ( a % k > 1 ) turn += a / k + 2; else if ( a % k == 1) turn += a / k + 1; else turn += a / k ; } if ( turn % 2 == 0 ) cout << "NO" << endl; else cout << "YES" << endl; return 0; }