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