#include <stdio.h>

int main(){
  int x, y;
  int i, j;
  int result = -1;
  
  scanf("%d %d", &x, &y);
  
  for(i = 0; i <= x; i++){
    if(i * 2 + 4 * (x - i) == y){
      result = 1;
      break;
    }
  }
  
  if(result == 1)
    puts("Yes");
  else
    puts("No");
  
  return 0;
}