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