import java.util.Scanner

fun main(args: Array<String>) {
  val cin = Scanner(System.`in`)
  val x = cin.nextInt()
  val y = cin.nextInt()


  var f = false
  for (i in 0..x) {
    if ((i * 2) + ((x - i) * 4) == y) {
      println("Yes")
      f = true
    }
  }

  if (!f) {
    println("No")
  }

  cin.close()
}