The ratio of students wearing sneakers to those wearing boots is 4 to 5. If there are 36 students in the class, and all of them are wearing either sneakers or boots, how many of them are wearing sneakers?