let () = Scanf.scanf "%d\n" @@ fun n ->
  let ls = Array.init n @@ fun _ -> Scanf.scanf "%d " @@ fun l -> l in
  print_endline @@
  if
    2 * Array.fold_left max min_int ls < Array.fold_left ( + ) 0 ls
  then "Yes"
  else "No"
