#include <bits/stdc++.h>
using namespace std;
void File() {
  freopen("output.txt", "w", stdout);
  freopen("input.txt", "r", stdin);
}
void yAsEr_HaFiz() {
  ios::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
}
int dx[] = {0, 0, 1, -1, 1, -1, 1, -1};
int dy[] = {1, -1, 0, 0, -1, 1, 1, -1};
int const N = 2e5 + 9, MOD = 1e9 + 7, oo = 1e9 + 7;
long long n, m, a, n1, n2;
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 << '\n';
  return 0;
}
