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