If the first and third of three consecutive odd integers are added, the result is 45 less than five times the second integer. Find the third integer.