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