#include <bits/stdc++.h>
using namespace std;
void parr(long long int arr[], long long int n, string name) {
  long long int i;
  for (i = 0; i < n; i++) cout << arr[i] << " ";
  cout << "\n";
}
template <typename T>
void p(T x, string name = " ") {
  cout << name << " : " << x << "\n";
}
int32_t main() {
  long long int l, r;
  cin >> l >> r;
  long long int n = (r - l + 1) / 2;
  long long int i;
  cout << "YES\n";
  for (i = 0; i < n; i++) {
    cout << l << " " << l + 1 << endl;
    l += 2;
  }
}
