#include <bits/stdc++.h>
long long int n, k;
int main() {
  while (scanf("%lld%lld", &n, &k) != EOF) {
    long long int i = n / k;
    if (i % 2 == 0)
      printf("NO\n");
    else
      printf("YES\n");
  }
  return 0;
}
