#include <bits/stdc++.h>
using namespace std;
const int N = 1005;
int dx[] = {0, 1, 0, -1};
int dy[] = {1, 0, -1, 0};
void solve() {
  long long l, r;
  cin >> l >> r;
  cout << "YES" << endl;
  while (l < r) {
    cout << l << " " << l + 1 << endl;
    l += 2;
  }
}
int main() {
  solve();
  return 0;
}
