#include <bits/stdc++.h>
using namespace std;
int main() {
  long long n, k;
  while (cin >> n >> k) {
    if ((n / k) % 2 == 0)
      cout << "NO" << endl;
    else
      cout << "YES" << endl;
  }
}
