open Printf
open Scanf

let solve x y =
  let a, b = 4 * x - y, y - 2 * x in
  if a mod 2 = 0 && b mod 2 = 0 && a >= 0 && b >= 0 then "Yes" else "No"

let () =
  scanf "%d %d " solve |> printf "%s\n"
