input: from typing import List
  
  def find_min_in_int_list(values: List[int]) -> int:
      """ Calculate the minimum value in a list of integers.
      >>> find_min_in_int_list([1, 5, 3, -2, 8])
      -2
      >>> find_min_in_int_list([10, 20, 30, 40])
      10
      """
output:     if not values:
          raise ValueError("List is empty")
      min_value = values[0]
      for value in values:
          if value < min_value:
              min_value = value
      return min_value