#include <bits/stdc++.h>
const long long MXN = 1e5 + 3;
const long long MNN = 1e3 + 1;
const long long MOD = 1e9 + 7;
const long long INF = 1e18;
const long long OO = 1e9 + 500;
using namespace std;
string s;
long long even, odd, d1[MXN];
long long l, r;
int main() {
  ios_base::sync_with_stdio(0), cout.tie(0), cin.tie(0);
  ;
  cin >> l >> r;
  if ((r - l) % 2 == 0) {
    cout << "NO";
    return 0;
  }
  cout << "YES" << endl;
  for (int j = 0; j < (r - l); j += 2) {
    cout << j + l << " " << j + 1 + l << endl;
  }
  return 0;
}
