func readInts() -> [Int] {
    return readLine()!.split(separator: " ").map { Int($0)! }
}

func main() {
    let line = readInts()
    let x = line[0]
    let y = line[1]
    
    for i in 0...x {
        if i * 2 + (x - i) * 4 == y {
            print("Yes")
            return
        }
    }
    print("No")
}

main()
