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