let fd [| x; y |] =
    [| for i in [ 0 .. x ] do
        yield 2 * i + 4 * (x - i) |]
    |> Array.filter (fun a -> a = y)
    |> Array.length
    |> fun x -> if x > 0 then "Yes" else "No"

//for i in [| [| 3; 8 |]; [| 2; 100 |]; [| 1; 2 |] |] do fd i |> printfn "%s"

[<EntryPoint>]
let main argv =
    let input = stdin.ReadLine().Split(' ') |> Array.map int
    fd input |> printfn "%s"
    0