The sum of three consecutive odd integers is 40 more than the first of the numbers.What is the middle number ?