input: from typing import List, Generator
  
  def list_generator(input_list: List[int]) -> Generator[int, None, None]:
      """
      Generates numbers from a given list.
      >>> gen = list_generator([1, 3, 5, 7, 9])
      >>> list(gen)
      [1, 3, 5, 7, 9]
      """
      for item in input_list:
          yield item
  
  gen = list_generator([1, 3, 5, 7, 9])
  for item in gen:
      print(item)
output:     for item in input_list:
          yield item