For the school play, most of the chairs are rows of 10 each, with one row of 8 chairs.If there are 78 chairs in altogether, how many rows are there?