#include <bits/stdc++.h>
using namespace std;
const int INF = 0x3f3f3f3f;
long long int n, k;
bool bins() {
  long long x = 1, y = k;
  while (x < y) {
    long long z = (x + y + 1) / 2;
    if (n % z == z - 1)
      x = z;
    else
      break;
  }
  return x >= y;
}
int main() {
  scanf("%lld %lld", &n, &k);
  if (bins())
    printf("Yes\n");
  else
    printf("No\n");
  return 0;
}
