input: 
  def to_int_list(s: str) -> list:
      """Convert a given string to a list of integers.
      The input string is expected to be a comma-separated list of numbers.
      Example:
      >>> to_int_list("1,2,3")
      [1, 2, 3]
      >>> to_int_list("4,5,6,7")
      [4, 5, 6, 7]
      """
      return [int(x) for x in s.split(',')]
  
output:     return [int(x) for x in s.split(',')]