#include <bits/stdc++.h>
const double PI(acos(-1.0));
const double PI_2 = PI * 2.0;
double eps = 1e-9;
using namespace std;
int main() {
  long long n, k;
  cin >> n >> k;
  if (k == n) {
    cout << "YES";
    return 0;
  }
  if (k > n) {
    cout << "NO";
    return 0;
  }
  if (n / k % 2 == 1) {
    cout << "YES" << endl;
  } else
    cout << "NO";
  return 0;
}
