#include <bits/stdc++.h>
int main() {
  long long int a, b;
  scanf("%lld %lld", &a, &b);
  long long int i, j, z = a, k;
  k = (b - a + 1) / 2;
  printf("YES\n");
  for (i = 1; i <= k; i++) {
    printf("%lld ", z);
    z++;
    printf("%lld\n", z);
    z++;
  }
}
