#include <bits/stdc++.h>
using namespace std;
int main() {
  ios::sync_with_stdio(false);
  cin.tie(0);
  long long int l, r;
  cin >> l >> r;
  cout << "YES" << endl;
  for (long long int i = l; i <= r; i += 2LL) {
    cout << i << ' ' << i + 1LL << endl;
  }
}
