Question: Dan found 56 seashells on the beach, he gave Jessica some of his seashells. He has 22 seashell left. How many seashells did he give to Jessica ?

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

Answer: 34