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