let readIntArray () =
    stdin.ReadLine().Split(" ") |> Array.map int

let choice ok ng bool = if bool then ok else ng

readIntArray ()
|> fun [| x; all |] -> (all % 2 = 0 && (all - x * 2) / 2 <= x)
|> choice "Yes" "No"
|> printfn "%s"
