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