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