#include <bits/stdc++.h>
using namespace std;
const long long NN = 100000;
long long n, m, i, k, j, f, t, s, c, x, y, z, q, w;
int main() {
  cin >> n >> m;
  if ((n / m) % 2 == 1)
    cout << "YES";
  else
    cout << "NO";
  cout << endl;
  return 0;
}
