input: from typing import List
  
  def sum_numbers(nums: List[int]) -> int:
      """
      Calculate the sum of all numbers in a given list.
      
      >>> sum_numbers([1, 2, 3, 4, 5])
      15
      >>> sum_numbers([0, -1, 3, 9, -5])
      6
      """
      return sum(nums)
output:     return sum(nums)