#include <stdio.h>

int sum(int *turu,int *kame,int sum,int leg){
  int turu_tem=(sum*4-leg*1)/2;
  int kame_tem=(1*leg-2*sum)/2;
  if(leg%2==1)
    return 1;
  if(turu_tem<0 || kame_tem<0)
    return 1;
  *turu=turu_tem;
  *kame=kame_tem;
  return 0;
}
int main(void){
  int x=0;
  int y=0;
  int turu,kame;
  scanf("%d %d",&x,&y);
  if(sum(&turu,&kame,x,y))
    printf("No\n");
  else
    printf("Yes\n");
}
