input: def create_dictionary_from_list(people: str) -> dict:
      """
      Convert a list of people in the format "Name (Age), Name (Age), ..." into a dictionary.
      Names are keys and ages are values.
  
      >>> create_dictionary_from_list("John (20), Jane (40), Alex (18), Peter (45)")
      {'John': 20, 'Jane': 40, 'Alex': 18, 'Peter': 45}
      """
output:     people_list = people.split(", ")
      result_dict = {}
      for person in people_list:
          name, age = person.split(" (")
          age = int(age.rstrip(")"))
          result_dict[name] = age
      return result_dict