The mean is defined as the

A. middle of the data set.
B. number that shows up most often in a data set.
C. range of the data set.
D. average of a data set.