#include <bits/stdc++.h>
using namespace std;
const int maxn = 1e5 + 9;
int main() {
  long long a, b;
  while (cin >> a >> b) {
    if (a % (2ll * b) >= b) {
      cout << "YES" << endl;
    } else {
      cout << "NO" << endl;
    }
  }
}
