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