The goals scored by 40 football teams from three league divisions are recorded below
| No of goals | 0 | 1 | 2 | 3 | 4 | 5 | 6 |
| Frequency | 4 | 3 | 15 | 16 | 1 | 0 | 1 |
What is the total number of goals scored by all the teams?
The numbers 3, 2, 8, 5, 7, 12, 9, and 14 are the marks scored by a group of students in a class test. If P is the mean and Q the median, the P + Q is