#include <bits/stdc++.h>
using namespace std;
int i, j, k, x, a, b, c, d, n, m, q, t, l, r, ans, temp, T = 1;
void solve() {
  long long l, r;
  cin >> l >> r;
  cout << "YES";
  cout << '\n';
  for (long long i = l; i < r; i += 2) cout << i << " " << i + 1 << " ";
}
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  while (T--) {
    solve();
  }
  return 0;
}
