#include <bits/stdc++.h>
using namespace std;
const int HashMod = 1125022017;
const int dx[4] = {0, 1, 0, -1};
const int dy[4] = {1, 0, -1, 0};
const int oo = 1e9;
long long n, m;
int main() {
  ios::sync_with_stdio(false);
  cin.tie(0);
  cin >> n >> m;
  n = n / m;
  if (n % 2 == 0)
    cout << "NO";
  else
    cout << "YES";
  return 0;
}
