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