The number of students is $59$.

This problem is taken from the UKMT Mathematical Challenges.

View the previous week's solution
View the current weekly problem