import Foundation
 
let inputs = readLine()!.components(separatedBy: " ")
let x = Int(inputs[0])!
let y = Int(inputs[1])!

let b = (y - 2 * x) / 2
let a = (4 * x - y) / 2

if a < 0 || b < 0 {
    print("No")
    exit(0)
} 

if a + b == x && 2 * a + 4 * b == y {
    print("Yes")
} else {
    print("No")
}


    
