let split_string ?(pattern="") = Str.split @@ Str.regexp pattern

let n = Scanf.sscanf (read_line ()) "%d" @@ fun n -> n
let a = read_line () |> split_string ~pattern:" " |> List.map int_of_string
let b = read_line () |> split_string ~pattern:" " |> List.map int_of_string

let () =
  let sum_a, sum_b = List.fold_left2 (fun (sum_a, sum_b) a b ->
      if a > b then (sum_a, sum_b + a - b)
      else (sum_a + (b - a) / 2, sum_b)
    ) (0, 0) a b in
  print_endline @@ if sum_a >= sum_b then "Yes" else "No"