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