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