#include <bits/stdc++.h>
using namespace std;
int main() {
  ios::sync_with_stdio(0);
  cout.tie(NULL);
  long long l, r;
  cin >> l >> r;
  if ((r - l) % 2 == 0)
    cout << "NO";
  else {
    cout << "YES\n";
    for (long long i = l; i <= r; i += 16) {
      cout << i << " " << i + 1 << '\n';
      if (i + 3 <= r) cout << i + 2 << " " << i + 3 << '\n';
      if (i + 5 <= r) cout << i + 4 << " " << i + 5 << '\n';
      if (i + 7 <= r) cout << i + 6 << " " << i + 7 << '\n';
      if (i + 9 <= r) cout << i + 8 << " " << i + 9 << '\n';
      if (i + 11 <= r) cout << i + 10 << " " << i + 11 << '\n';
      if (i + 13 <= r) cout << i + 12 << " " << i + 13 << '\n';
      if (i + 15 <= r) cout << i + 14 << " " << i + 15 << '\n';
    }
  }
  return 0;
}
