A school eacher took some student to the amusement park. 1/2 of them has 3 rides on the merry-go-round. 3/5 of the remainder had two rides and the rest of the children had one ride. If 8 students had one ride. How many students did she take to the amusement park?