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