let inputs = readLine()!.split(separator: " ").map { Int($0)! }

let X = inputs[0]
let Y = inputs[1]

let y = (2 * X - Y) / -2
let x = X - y

print(x >= 0 && y >= 0 && 2 * x + 4 * y == Y ? "Yes" : "No")