def split(line):
    """Input string as described in module docstring, return 2 sets of ints."""
    set1 = {int(x) for x in (line.split(';')[0]).split(',')}
    set2 = {int(x) for x in (line.split(';')[1]).split(',')}
    return set1, set2