#include <bits/stdc++.h>
using namespace std;
const int INF = 0x3f3f3f3f;
const double eps = 1e-5;
const double PI = acos(-1);
long long a, b;
int main() {
  cin >> a >> b;
  puts("YES");
  for (long long i = a; i < b; i += 2) {
    printf("%I64d %I64d\n", i, i + 1);
  }
  return 0;
}
