#include <bits/stdc++.h>
using namespace std;
void TestCase() {
  unsigned long long l, r;
  cin >> l >> r;
  cout << "YES\n";
  for (unsigned long long i = l + 1; i < r + 1; i += 2) {
    cout << i - 1 << ' ' << i << '\n';
  }
}
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(nullptr);
  TestCase();
  return 0;
}
