import math


def min_max_nonsingleton_sizes(sets):
    """Finds the minimum and maximum nonsingleton set sizes."""
    low = math.inf
    high = -math.inf

    for size in sets.sizes():
        if size > 1:
            low = min(low, size)
            high = max(high, size)

    return low, high