import random


def _random_tiebreak(winners, n=1):
    """
    Given an iterable of possibly tied `winners`, select one at random.
    """
    if len(winners) == 1:
        return winners
    else:
        return random.sample(winners, n)