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