Design MapReduce algorithms to take a very large file of integers and produce as output: (a) The…

Design MapReduce algorithms to take a very large file of integers and produce as output: (a) The largest integer. (b) The average of all the integers. (c) The same set of integers, but with each integer appearing only once. ! (d) The count of the number of distinct integers in the input. In each part, you can assume that the key of each output pair will be ignored or dropped.