#include <bits/stdc++.h>
using namespace std;
ifstream fin("input.txt");
ofstream fout("output.txt");
int main() {
  long long r, l;
  cin >> r >> l;
  cout << "YES" << endl;
  for (long long i = r; i < l; i++) {
    cout << i << ' ' << i + 1 << endl;
    i++;
  }
}
