import Foundation
// Decimal型の有効桁数は38桁
let line = readLine()!.components(separatedBy: " ").map { Int($0)! }
let X = line[0]
let Y = line[1]

for kame in 0..<X {
    let turu = X - kame
    if (kame * 4 + turu * 2) == Y {
        print("Yes")
        exit(EXIT_SUCCESS)
    }
}
print("No")