Question: A ship is filled with 5,973 tons of cargo. It stops in the Bahamas, where sailors load 8,723 more tons of cargo onboard. How many tons of cargo does the ship hold now?

Solution program:
from sympy import symbols, solve
x = symbols("x")
answer = solve(5973+8723-x)
print(answer)

Answer: 14696