#include <bits/stdc++.h>
using namespace std;
const long double Pi = 3.14159265359;
const long long MOD = (long long)1e9 + 7;
const long long MAXN = (long long)2e5 + 10;
const long long INF = (long long)9223372036854775;
long long ps[MAXN];
vector<long long> ve;
int main() {
  ios::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  long long T, d, l, u, oc;
  long long n, m;
  cin >> n >> m;
  cout << "YES" << endl;
  for (long long i = n; i <= m; i += 2) cout << i << " " << i + 1 << endl;
  return 0;
}
