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