Given three consecutive odd integers, what is the greatest number if triple of the sum of thrice the third one and twice the first one is equal to 291? ( grid-in )​