Find three consecutive integers such that the sum of the first and twice the second is 17 more than twice the third.