def possible_mine_limits(tallies):
    """return the total minimum and maximum possible # of mines across all
    tallied fronts

    returns (min, max)"""
    return (sum(f(tally) for tally in tallies) for f in (lambda tally: tally.min_mines(), lambda tally: tally.max_mines()))