def _solveset_work(system, symbols):
    soln = solveset(system[0], symbols[0])
    if isinstance(soln, FiniteSet):
        _soln = FiniteSet(*[tuple((s,)) for s in soln])
        return _soln
    else:
        return FiniteSet(tuple(FiniteSet(soln)))
def _solveset_work(system, symbols):
    soln = solveset(system[0], symbols[0])
    if isinstance(soln, FiniteSet):
        _soln = FiniteSet(*[tuple((s,)) for s in soln])
        return _soln
    else:
        return FiniteSet(tuple(FiniteSet(soln)))