def minmax(data):
    """
    Return a pair (min, max) of list arg
    """
    lo = 0
    hi = 0
    for i in data:
        if i > hi:
            hi = i
        if i < lo:
            lo = i

    return lo, hi