150 students are asked whether they prefer football, basketball, or tennis best.
85 of the students are in Year 7, the rest are in Year 8. 40 students like tennis best. 30 of the Year 7 students like football best. 22 of the 50 students who like basketball best are in Year 8.
Work out how many Year 8 students like football best.