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