Katy’s favorite rides at the amusement park are the roller coaster and water slide. The wait time for the roller coaster is 25 minutes and the wait time for the water slide is 10 minutes. If she went on 12 rides total and waited three hours in line, how many times did she go on each ride?