fun main(args: Array<String>){
    val (X, Y) = readLine()!!.split(" ").map { it.toInt() }
    var ans = "No"
    for(i in 0..X){
        var b = X - i
        if(2 * i + 4 * b == Y){
            ans = "Yes"
        }
    }

    println(ans)

}