The numbers between 5 and 8 are 6 and 7.

• The number must be less than 7.
• 6 < 7, but 7 is not less than 7.
• So the number is 6.

Final Answer: 6