#include<stdio.h>

signed main(){
int w[100],i,kame=2,turu=4,a,b,kn,tn=0;
scanf("%d %d",&a,&b);
  kn=a;
for(i=0;i==a;i++){  
w[i]=kn*kame+tn*turu;
kn--;
tn++;  


}
  


if(w[i]==b){
printf("Yes\n");
}else{
printf("No\n");
}

  
  
return 0;




}