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