function Main(input) {
  const setting = input.trim().split(' ')
  const animal_sum = setting[0] - 0
  const leg_sum = setting[1] - 0

  let answer = false

  for (let crane = 0; crane <= animal_sum; crane++) {
    let turtle = animal_sum - crane
    if (((crane * 2) + (turtle * 4)) === leg_sum) {
      answer = true
      break
    }
  }

  if (answer) {
    console.log('Yes')
  } else {
    console.log('No')
  }
  }

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