Question: A group of science students went on a field trip. They took 6 vans and 8 buses. There were 6 people in each van and 18 people in each bus. How many people went on the field trip?

Solution program:
from sympy import symbols, solve
x = symbols("x")
answer = solve((6*6)+(8*18)-x)
print(answer)

Answer: 180