const main = (input) => {
  const [x, y] = input.trim().split(' ').map(Number)

  const turtle = (y-2*x) / 2
  const crane = Math.max(x - turtle, 0)

  return console.log((turtle + crane === x) && (turtle*4 + crane*2 === y) ? 'Yes' : 'No')
}

process.env.MYTEST
  ? (process.env.MYTEST === 'test' ? test() : main(require('fs').readFileSync('dev/stdin', 'utf8')))
  : main(require('fs').readFileSync('/dev/stdin', 'utf8'))
