If the mean deviation about median for the number 3,5,7,2k,12,16,21,24 arranged in the ascending order, is 6 then the median is