#include <bits/stdc++.h>
using namespace std;
void solve() {
  long long l, r;
  cin >> l >> r;
  cout << "YES\n";
  long long x = l;
  for (int i = 0; i < r - l + 1; i += 2) {
    cout << x << ' ' << x + 1 << '\n';
    x += 2;
  }
}
int main() {
  ios::sync_with_stdio(false);
  cin.tie(0);
  int t = 1;
  for (int i = 1; i <= t; i++) {
    solve();
  }
}
