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