A six-faced unbiased die was thrown 20 times.

The table below shows the frequency that each number on the die appeared.


Number: 1, 2, 3, 4, 5, 6
Frequency: 4, 6, 3, 2, 4, 1


(a) After the 19th thrown the median number was 2. What was the least possible number that appeared on the 20th throw?

(b) The die was thrown one more time and the mean number of all 21 throws was 3. Calculate the number that appeared on the last throw.


Please help me on these 2 questions! Explain your workings, the easiest and clearly explained workings will be awarded 10 points. Thanks a lot!!!

Note that the number 1 to 6 are in line with the frequency number.


Help me, I don't understand the question. Thanks a lot!