#include <bits/stdc++.h>
using namespace std;
const int maxn = 5e5 + 5;
const long long inf = 0x3f3f3f3f3f;
long long n, m, a, b;
int main() {
  long long l, r;
  cin >> l >> r;
  cout << "YES\n";
  for (long long i = l; i < r; i += 2) cout << i << " " << i + 1 << endl;
}
