Calculates min, max, and average of a list of integers.