#include <bits/stdc++.h>
using namespace std;
const int MAX = 100010;
const int MOD = 1000000007;
const int oo = 1e8;
const long long int LLINF = 0x3f3f3f3f3f3f3f3f;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  long long int a, b;
  cin >> a >> b;
  cout << "YES\n";
  for (long long int i = a; i <= b - 1; i += 2) {
    cout << i << " " << i + 1 << endl;
  }
  return 0;
}
