#include <bits/stdc++.h>
using namespace std;
const int N = 100010;
long long mod = 1e9 + 7;
long long fmod(long long b, long long exp) {
  long long res = 1;
  while (exp) {
    if (exp & 1ll) res = (res * b) % mod;
    b = (b * b) % mod;
    exp /= 2ll;
  }
  return res;
}
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  int t = 1, n, i, j, m;
  long long l, r;
  cin >> l >> r;
  cout << "YES\n";
  for (long long i = l; i <= r; i += 2) {
    cout << i << " " << i + 1 << "\n";
  }
  return 0;
}
