object Main extends App {
  val n = io.StdIn.readLine.split(' ').map(_.toInt)
  val x = n(0)
  val y = n(1)
  
  for(i <- 0 to (x+1)/2.toInt) {
    val j = x - i
    if(i*4 + j*2 == y || i*2 + j*4 == y) {
      println("Yes")
      sys.exit
    }
  }
  println("No")
}