#include <bits/stdc++.h>
using namespace std;
int main() {
  bool key;
  char ch1, ch2, ch;
  long long int i, j, k, lft, rgt;
  scanf("%lld %lld", &lft, &rgt);
  printf("%s\n", "YES");
  for (i = lft; i <= rgt; i += 2) printf("%lld %lld\n", i, i + 1);
  return 0;
}
