#include <bits/stdc++.h>
using namespace std;
int main() {
  long long l, r;
  cin >> l >> r;
  cout << "YES\n";
  int ct = 0;
  long long sz = r - l;
  sz++;
  sz = sz / 2;
  for (long long i = l; i < r; i += 2) {
    cout << i << " " << (i + 1) << "\n";
    ct++;
    if (ct == sz) {
      break;
    }
  }
}
