We will have the following:
First, we arrange the data under the parameters given:
18 - 23: 23, 22, 20, 18, 19. In total 5
24 - 29: 26, 28, 24, 25. In total 4
30 - 35: 30, 33, 35. In total 3
36, 41: 40, 37. In total 2
42 - 47: 43, 45. In total 2
So, the histogram will be: