#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  long long k, n, ans;
  cin >> n >> k;
  ans = n / k;
  if (ans % 2 == 0) {
    cout << "NO";
  } else
    cout << "YES";
  return 0;
}
