open Printf
open Scanf

let tsurukame x y =
  let ways x = List.init (x + 1) (fun i -> (x - i) * 2 + i * 4) in
  if  List.mem y (ways x) then "Yes"
                          else "No"

let x, y  = sscanf (read_line ()) "%d %d" (fun x y -> (x, y))
let () = printf "%s\n" (tsurukame x y)