The mode is the number that appears most frequently in a set of data, and 8 appears most frequently in this set of data, so the mode is 8;
After arranging this set of data from small to large, the numbers in the middle position are 9, 9, so from the definition of median, the median of this set of data is