#include <bits/stdc++.h>
using namespace std;
const int nmax = 200001;
long long n, k;
int main() {
  cin >> n >> k;
  int p = (n / k) % 2;
  cout << (p % 2 == 1 ? "YES" : "NO") << endl;
  return 0;
}
