import java.util.Scanner

import scala.util.control.Breaks

object Main {

  def main(args: Array[String]): Unit = {
    val sc = new Scanner(System.in)
    val x = sc.nextInt()
    val y = sc.nextInt()


    if (y % 2 != 0) {
      println("No")
    } else if (2 * x <= y && y <= 4 * x) {
      println("Yes")
    } else {
      println("No")
    }

  }

}
