def parse_line(line):
    """Returns a list of ints and a minuend integer.

    The line needs to be in the form '1,2,3,...;5' as described in the module
    docstring
    """
    num_list, minuend = line.split(';')
    num_list = [int(num) for num in num_list.split(',')]
    minuend = int(minuend)
    return num_list, minuend