#include <bits/stdc++.h>
using namespace std;
int main() {
  long long k = 0, x, nigga = 1, n, b;
  long long l, r, s = 0;
  float sum = 0, fact = 2;
  cin >> l >> r;
  s = (r - l + 1);
  cout << "YES" << endl;
  for (long long i = l; i <= r; i += 2) {
    cout << i << " " << i + 1 << endl;
  }
}
