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