def parse_int_input(s: str) -> list:
    """
    Transforms '12345' -> [1, 2, 3, 4, 5]
    Raises errors on invalid input. Ex: '12a45' -> Error
    """
    try:
        row = [int(v) for v in s]
        return row
    except:
        raise