A middle school took all of its 6th grade students on a field trip to see a ballet at a theater that has 4700 seats. The students left 12% of the seats in the theater vacant. How many 6th graders went on the trip?