Mrs. Wong is researching what it would cost to order flower arrangements for a fancy party. She wants one large centerpiece for the head table, and smaller arrangements for the smaller tables. Lakeside Florist charges $19 for each smaller arrangement, plus $50 for the large centerpiece. Spencer's Flowers, in contrast, charges $42 for the large centerpiece and $23 per arrangement for the rest. If Mrs. Wong orders a certain number of small arrangements, the cost will be the same at either flower shop. How many small arrangements would that be? What would the total cost be?