function main(input) {
  const args = input.trim().split(' ')
  const total = parseInt(args[0], 10)
  const legs = parseInt(args[1], 10)
  const maxLegs = total * 4
  const legDiffToMax = maxLegs - legs
  const crane = legDiffToMax / 2
  const turtle = total - crane
  if (Number.isInteger(crane) && Number.isInteger(turtle) && crane >= 0 && turtle >= 0)
    console.log('Yes')
  else 
    console.log('No')
}

main(require("fs").readFileSync("/dev/stdin", "utf8"));
