#include <bits/stdc++.h>
using namespace std;
void NITRO() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
}
const int MAX_N = 1e+5 * 2 + 1;
void solve() {
  long long n, k;
  cin >> n >> k;
  if (n / k % 2 == 1)
    cout << "YES";
  else
    cout << "NO";
}
int main() {
  NITRO();
  solve();
  return 0;
}
