#includ <studio.h>

int main(void){
  int a,b,i;
  int c = 0;
  
  scanf("%d",&a);
  scanf("%d",&b);
  
  for(i = 0;i < a){
  if(b = (a * 2) + (i * 2)){
    c = 1;}
  }
  if(c == 1){
    printf("Yes");}
  else printf("No");
return 0;
}