There are 17 students in a Hindi class and 30 students in an English class. Find the number of students who are either in a Hindi class or in an English class, if the two classes meet at different hours and 8 students are enrolled in both courses.
1
39
2
37
3
38
4
40