#include <bits/stdc++.h>
using namespace std;
int main() {
  long long l, r;
  cin >> l >> r;
  cout << "YES" << endl;
  int c = 0;
  long long h = 0;
  for (long long i = l; i < r;) {
    h = i;
    cout << h << " " << h + 1 << endl;
    i += 2;
  }
  return 0;
}
