object Main {
  def main(args: Array[String]): Unit = {
    val Array( animals_num, total_foots_num ) = io.StdIn.readLine.split(" ").map{_.toInt}
    var flag = false

    ( 0 to animals_num ).foreach{ i =>
      val turtles_num = animals_num - i
      val cranes_num  = i
      if( turtles_num*4 + cranes_num*2 == total_foots_num ) flag = true
    }

    if ( flag ) println( "Yes" )
    else        println( "No" )
  }
}