#include <bits/stdc++.h>
using namespace std;
int dx[] = {0, 0, 1, -1, 1, 1, -1, -1};
int dy[] = {1, -1, 0, 0, -1, 1, 1, -1};
const int mod = 998244353;
int dcmp(long double x, long double y) {
  return fabs(x - y) <= 1e-12 ? 0 : x < y ? -1 : 1;
}
void fast() {
  std::ios_base::sync_with_stdio(0);
  cin.tie(NULL);
  cout.tie(NULL);
}
long long l, r;
int main() {
  fast();
  cin >> l >> r;
  cout << "YES\n";
  while (l < r) {
    cout << l << " " << l + 1 << '\n';
    l += 2;
  }
  return 0;
}
