If the sum of two consecutive integers is 51, what are the numbers?