#include <bits/stdc++.h>
using namespace std;
const long long mod = 1e9 + 7;
const long long inf = (1ll << 61);
const int MX = 1e6 + 9;
int t, d[MX];
string s;
char oo[MX];
int main() {
  long long l, r;
  cin >> l >> r;
  puts("YES");
  for (long long i = l; i <= r; i += 2) {
    cout << i << " " << i + 1 << endl;
  }
}
