#include <bits/stdc++.h>
using namespace std;
long long read() {
  char c = getchar();
  long long f = 1, sum = 0;
  while (c < '0' || c > '9') {
    if (c == '-') f = -1;
    c = getchar();
  }
  while (c >= '0' && c <= '9') {
    sum = sum * 10 + c - '0';
    c = getchar();
  }
  return sum * f;
}
long long L, R;
int main() {
  L = read(), R = read();
  if ((R - L + 1) & 1) return puts("NO"), 0;
  puts("YES");
  for (long long i = L + 1; i <= R; i += 2) printf("%lld %lld\n", i, i - 1);
  return 0;
}
