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