This mode is the intermediate value with the highest frequency.
The average value is the median value of each group of frequencies multiplied by the frequencies and then added.
The mode is the number with the highest frequency, not to mention the average. The median is to arrange all the numbers from small to large. If the total number is even, take the sum of the middle two numbers and divide by two. If the total number is odd, take the middle number directly.