input: from typing import List
  
  def to_int_list(s: str) -> List[int]:
      """ Convert a given string to a list of integers. The string is expected to contain integers separated by commas.
      >>> to_int_list("1,2,3,4,5")
      [1, 2, 3, 4, 5]
      >>> to_int_list("10,20,30,40")
      [10, 20, 30, 40]
      """
      return [int(x) for x in s.split(',')]
  
output:     return [int(x) for x in s.split(',')]