#include <bits/stdc++.h>
int main() {
  int64_t n, k;
  std::cin >> n >> k;
  int64_t m = n / k;
  if (m % 2 == 0) {
    std::cout << "NO" << std::endl;
  } else {
    std::cout << "YES" << std::endl;
  }
  return 0;
}
