input: from typing import List
  
  
  def sum_list(input_list: List[int]) -> int:
      """ Takes a list of integers as input and returns their sum.
      >>> sum_list([1, 2, 3, 4, 5])
      15
      >>> sum_list([10, 20, 30])
      60
      """
output:     total = 0
      for num in input_list:
          total += num
      return total