#include <bits/stdc++.h>
using namespace std;
const int N = 2e5 + 5;
long long test, n, m, k, x, y, ans, a[N], b[N];
void solve() {
  cin >> n >> k;
  cout << (n / k % 2 ? "YES" : "NO");
}
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  solve();
}
