The square root of the sum of two consecutive integers is equal to 9, find the smaller integer.