Given the task definition and input, reply with output. Given a math word problem, answer the following question. You might need to apply addition or subtraction mathematical operators on the numbers embedded in the text to answer the question and then only report the final numerical answer.

mrs. hilt baked pies last weekend for a holiday dinner . she baked 16 pecan pies and 14 apples pies . if she wants to arrange all of the pies in rows of 5 pies each how many rows will she have ?
6