Question: Abe's family moved from the Bahamas to Japan, so they had convert their money into Japanese yen. Their checking account now has 6,359 yen and their savings account now has 3,485 yen. How many yen do they have?

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

Answer: 9844