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