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