#include <bits/stdc++.h>
using namespace std;
int main() {
  long long x, y;
  cin >> x >> y;
  int z = (y - x + 1) / 2;
  cout << "YES" << endl;
  while (z--) {
    cout << x << " " << x + 1 << endl;
    x = x + 2;
  }
  return 0;
}
