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