Question: Fred has 709 green balloons, he gave Sandy 221 of the balloons. How many green balloons does he now have ?

Solution program:
from sympy import symbols, solve
x = symbols("x")
answer = solve(709-221-x)
print(answer)

Answer: 488