#include<stdio.h>
int main(){
  int x,y,i,p=0;
  scanf("%d %d",&x,&y);
  for(i=0;i<=x;i++){
    if(i*2+(x-i)*4==y){
      p=1;
      break;
    }
  }
  if(p==0){printf("No\n");}
  else{printf("Yes\n");}
}