#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  long long i, j, k, x, y, z, n, m, sm, mx, id = 0, tc;
  cin >> x >> y;
  n = x;
  cout << "YES" << endl;
  for (i = 0; i < (y - x + 1) / 2; i++) {
    cout << n++ << " " << n++ << endl;
  }
  return 0;
}
