The organizers of the concert arranged 390 chairs in a row so that there were 18 chairs in the first row and 42 chairs in the last row, and the number of chairs in the rows forms an arithmetic progression. How many chairs were placed in rows, and how many chairs in each subsequent row are more than the previous one?