Compete extremum(minimum and maximum value) by customizing MapReduce type and output format specification.