when the smaller of two consecutive integers is added to three times the larger , the result is 43 . Find the two integers .
from sympy import *
x = symbols('x')
answer = solve([Eq(x+3.0*(x+1.0), 43.0)])
print(answer)
