The table shows information about the number of books read by 30 students during a summer holiday.
| Number of Books | Frequency |
|---|---|
| 0 | 5 |
| 1 | 12 |
| 2 | 8 |
| 3 | 5 |
| 4 or more | 0 |
Find the median number of books read.
Write down the mode.
Work out the total number of books read by all 30 students.