input: from typing import List
  
  def to_int_list(s: str) -> List[int]:
      """ Convert a given string to a list of integers. The string contains numbers
      separated by commas.
      >>> to_int_list('1,2,3,4')
      [1, 2, 3, 4]
      >>> to_int_list('0,1,0,2')
      [0, 1, 0, 2]
      """
output:     return [int(num) for num in s.split(',')]