#include <bits/stdc++.h>
using namespace std;
inline unsigned long long read() {
  unsigned long long x = 0;
  char ch = getchar();
  while (ch < '0' || ch > '9') {
    ch = getchar();
  }
  while (ch >= '0' && ch <= '9') {
    x = x * 10 + ch - '0';
    ch = getchar();
  }
  return x;
}
int main() {
  unsigned long long n = read(), k = read();
  if (n / k % 2)
    cout << "YES" << endl;
  else
    cout << "NO" << endl;
  return 0;
}
