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