class B {
    static func solve() {
        let XY = readLine()!.split(separator: " ").map { Int($0)! }
        let X = XY[0]
        let Y = XY[1]
        for i in 0...X {
            if i * 2 + (X - i) * 4 == Y {
                print("Yes")
                return
            }
        }

        print("No")
    }
}

B.solve()
