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