#include <bits/stdc++.h>
using namespace std;
static int fast_io = []() {
  std::ios::sync_with_stdio(false);
  cin.tie(nullptr);
  return 0;
}();
int main() {
  unsigned long long int l, r;
  cin >> l >> r;
  cout << "YES"
       << "\n";
  for (unsigned long long int i = l; i < r; i += 2) {
    cout << i << " " << i + 1 << "\n";
  }
  return 0;
}
