function Main(input){
  input = input.trim().split(' ').map(x=>parseInt(x));
  anis = input[0];
  legs = input[1];
  var ans = 'No'
  for (i=0;i<=anis;i++){
    if (i*2 + (anis-i)*4 === legs){
      ans = 'Yes';
      break;
    }
  }
  console.log(ans);
}
Main(require("fs").readFileSync("/dev/stdin", "utf8"));