#include <bits/stdc++.h>
using namespace std;
bool cmp(int x, int y) { return x < y; }
int gcd(int x, int y) { return 0; }
long long quick_mod() { return 0; }
long long n, k, ans;
int main() {
  cin >> n >> k;
  ans = n / k;
  cout << (ans % 2 == 0 ? "NO" : "YES") << endl;
  return 0;
}
