import Foundation
func readInts() -> [Int] {
    return readLine()!.components(separatedBy: " ").map { Int($0)! }
}

code_block: do {
    let x_y = readInts()

    for turu in 0 ... x_y[0] {
        let kame = x_y[0] - turu
        if x_y[1] == turu * 2 + kame * 4 {
            print("Yes")
            break code_block
        }
    }

    print("No")
}
