input: from typing import List
  
  def remove_duplicates(nums: List[int]) -> List[int]:
      """
      Removes all duplicate elements from the input list while preserving the original order.
      
      >>> remove_duplicates([1, 3, 3, 5, 5, 7])
      [1, 3, 5, 7]
      """
      new_list = []
      for num in nums:
          if num not in new_list:
              new_list.append(num)
      return new_list
  
  # Main program
  nums = [1, 3, 3, 5, 5, 7]
  dedup_nums = remove_duplicates(nums)
  print(dedup_nums) # [1, 3, 5, 7]
output:     new_list = []
      for num in nums:
          if num not in new_list:
              new_list.append(num)
      return new_list