class Scanner {
    private var stack = [String]()
    private var index = 0
    
    func peek() -> String {
        if stack.count == index {
            stack += readLine()!.split(separator: " ").map{ String($0) }
        }
        return stack[index]
    }
    
    func next() -> String {
        let value = peek()
        index += 1
        return value
    }
    
    func nextInt() -> Int {
        return Int(next())!
    }
    
    func nextDouble() -> Double {
        return Double(next())!
    }
}

var scanner = Scanner()

let X = scanner.nextInt()
let Y = scanner.nextInt()

if (0 ... X).contains(where: { i in let j = X - i; return 2 * i + 4 * j == Y }) {
    print("Yes")
} else {
    print("No")
}
