'use strict';
function Main(stdin){
  const input = stdin.trim().split(' ').map(str => Number(str));
  const X = input[0], Y = input[1];
  const tsuru = 2;
  const kame = 4;
  let result = 'No';

for(let i = 0; i <= X; i++){
    if(tsuru * i + kame * (X-i) === Y){
        result = 'Yes';
        break;
    }
}
  console.log(result);
}


// 固定
Main(require("fs").readFileSync("/dev/stdin", "utf8"));