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