40 miners need to ride the elevator to the bottom of the mine. The elevator can hold 9 miners at a time. How many miners will be in the elevator on its last trip?