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