function main(lines) {
  const input = lines.split(' ')
  const X = input[0]-0
  const Y = input[1]-0
  
  const tsuru = 2*X - Y/2;
  const kame = (Y-2*X)/2;
  if(Number.isInteger(tsuru, kame) && tsuru >=0 && kame >= 0){
      console.log('Yes')
  } else {
      console.log('No')
  }
}

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

