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