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