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