#include <bits/stdc++.h>
#pragma GCC optimize("Ofast,O3,fast-math,unroll-loops")
#pragma GCC target("sse4,avx,avx2,fma")
using namespace std;
using namespace chrono;
void solve() {
  long long T = 1;
  for (long long i = 1; i < T + 1; i++) {
    long long l, r;
    cin >> l >> r;
    cout << "YES\n";
    for (long long i = l; i <= r; i += 2) cout << i << " " << i + 1 << "\n";
  }
}
signed main() {
  ios::sync_with_stdio(0), cin.tie(0), cout.tie(0);
  auto start1 = high_resolution_clock::now();
  solve();
  auto end1 = high_resolution_clock::now();
  auto duration = duration_cast<microseconds>(end1 - start1).count();
  cerr << "Compilation Time : " << duration * 0.001 << " ms\n";
  return 0;
}
