#include <bits/stdc++.h>
using namespace std;
void LoL_Code_Bela_Hadaf_() {}
const double PI = 22.0 / 7;
int dx[] = {1, -1, 0, 0, 1, 1, -1, -1};
int dy[] = {0, 0, 1, -1, 1, -1, 1, -1};
int MOD = 1e9 + 7;
const int INF = 1e9 + 10;
const int N = 1e6 + 100;
const long long inf = 0x3f3f3f3f3f3f3f3fLL;
int main() {
  ios::sync_with_stdio(false);
  cin.tie(0);
  cout.tie(0);
  LoL_Code_Bela_Hadaf_();
  long long l, r;
  cin >> l >> r;
  if ((r - l + 1) % 2 == 0) {
    cout << "YES\n";
    for (long long i = l; i <= r; i += 2) {
      cout << i << " " << i + 1 << '\n';
    }
  } else
    cout << "NO";
  return 0;
}
