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