function main(input) {
  const inputs =input.split('\n')
  const [X, Y] = inputs[0].split(' ').map(Number)
  const t = Math.floor(Math.abs(Y - X * 4) / 4)
  const c = X - t
  if (t * 4 + c * 2 !== Y) console.log('No')
  else console.log('Yes')

}

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