(*
ocamlfind ocamlopt -package batteries -linkpkg main.ml -o a.out
*)
open Batteries

let x, y = Scanf.sscanf (read_line ()) "%f %f" ( fun x y -> x, y)

let kame = (y -. (2.0 *. x)) /. 2.0 
let tsuru = x -. kame
let () =
        (
                if kame = (ceil kame) && tsuru = (ceil tsuru) && kame >= 0.0 && tsuru >= 0.0 then
                        "Yes"
                else
                        "No"
        ) |> Printf.printf "%s\n"
