There are 3 consecutive integers such that the sum of the 2 smallest integers is 17 less than three times the largest. What is the smallest integer