#include <bits/stdc++.h>
using namespace std;
int main() {
  long long int l, r;
  scanf("%lld", &l);
  scanf("%lld", &r);
  printf("YES\n");
  for (long long int i = l; i < r; i = i + 2) printf("%lld %lld\n", i, i + 1);
}
