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