The ratio of students playing foursquare to those playing basketball during commons is 3 to 1 if 24 students are playing basketball how many are playing foursquare