Question 8A class has 20 pupils good at Mathematics and 22 good at Literature. Eight are good at both, and five are good at neither. How many pupils are in the class?