Question: 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?

Solution program:
from sympy import symbols, solve
x = symbols("x")
answer = solve((16+14)/5-x)
print(answer)

Answer: 6