#include <stdio.h>
int main(void){
  int i, x, y, a;
  a = 0;
  scanf("%d %d", &x, &y);
  if (x < 26) {
    for (i=2*x; i<4*x+1; i+=2) {
      if (y == i) {
        a = 1;
        break;
      }
    }
  } else if (x < 51) {
    for (i=2*x; i<101; i+=2) {
      if (y == i) {
        a = 1;
        break;
      }
    }
  }
  if (a == 1) printf("yes\n");
  else printf("no\n");
}
