input: 
  def optimize_code(numbers: List[int]) -> None:
      """ Optimize the given python program by finding an efficient way to print each element of the list on a new line.
      >>> optimize_code([1, 2, 3, 4, 5, 6])
      1
      2
      3
      4
      5
      6
      """
  
output:     for num in numbers:
          print(num)