A theater has 474 seats. The seats are arranged in rows of 6. Work out the number of rows in the theater.