The sum of two consecutive integers is 37. Write an equation that models this situation and find the values of the two integers.