input: from typing import List
  
  def sum_of_elements(data: List[int]) -> int:
      """ Calculate the total sum of all elements in the given list.
      >>> sum_of_elements([1, 9, 3, 5])
      18
      """
      total = 0
      for element in data:
          total += element
      return total
output:     total = 0
      for element in data:
          total += element
      return total