The mean and mode of a frequency distribution are 28 and 16 respectively. The median is
(a) 22 (b) 23.5 (c) 24 (d) 24.5