A group of students take a test. The group consists of 8 girls and 12 boys. The mean mark for the girls is 18. The mean mark for the boys is 16. 5. Calculate the mean mark for the whole group.