func readIntPair() -> (Int, Int) {
    let line = readLine()!.split(separator: " ").map({Int($0)!})
    return (line[0], line[1])
}

let (X, Y) = readIntPair()
if (Y - 2 * X >= 0 && Y % 2 == 0) {
    let t = (Y - 2 * X) / 2
    print(X - t >= 0 ? "Yes" : "No")
} else {
    print("No")
}
