def minTuple(tuples):
    """Return the tuple whose first element is smallest."""
    minTuple = None;
    minValue = 1e100;
    for tuple in tuples:
        if tuple[0] < minValue:
            minValue = tuple[0]
            minTuple = tuple
    return minTuple