#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  long long n, m;
  cin >> n >> m;
  if ((m - n + 1) % 2) {
    cout << "NO";
  } else {
    cout << "YES" << endl;
    for (long long i = n; i < m; i += 2) printf("%lld %lld\n", i, i + 1);
  }
  return 0;
}
