The median of a dataset with an odd number of observations is:
a) The average of the two middle values
b) The middle value when the data is arranged in ascending order
c) The most frequently occurring value
d) Half the sum of the smallest and largest values