The largest of 2 integers is one more than three times the smaller . If the sum of the two integers is 37 , find the larger integer .
from sympy import *
n,m = symbols('n m')
answer = solve([Eq(m, 1.0+3.0*n),Eq(m+n, 37.0)])
print(answer)
