def maxTuple(tuples):
    """Return the tuple whose first element is largest."""
    maxTuple = None;
    maxValue = 0.0;
    for tuple in tuples:
        if tuple[0] > maxValue:
            maxValue = tuple[0]
            maxTuple = tuple
    return maxTuple