#include<stdio.h>

int main(void){
  int x , y;
  scanf("%d %d",&x ,&y);


  int flag = 0;
  for(int i = 0;i <= x;i ++){
    int t = x - i;
    if(i*2 + t*4 == y){
      flag  ++;
      i += x+1;
    }
  }

  if(flag != 0){
    printf("Yes\n");
  }

  else{
    printf("No\n");
  }
  return 0;
}