The sum of the smaller of two consecutive integers and twice the larger integer is 47. What are the integers?