At rolling hills middle school, the ratio of the total number of students to the number of students with pets is 3 to 1. If there are 243 students at the school,how many students have pets