Biggest and Smallest: a coding challenge in World 4

The factory's number machine finds the extremes.