#include <bits/stdc++.h>
using namespace std;
string s;
int n, k;
int find_div(int k1) {
  int l = 2;
  while (l <= sqrt(k1)) {
    if (k1 % l == 0) return l;
    l++;
  }
  return 1;
}
int main() {
  long long l, r;
  cin >> l >> r;
  long long i = l;
  cout << "YES"
       << "\n";
  while (i <= r) {
    cout << i << " " << i + 1 << "\n";
    i += 2;
  }
  return 0;
}
