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