what is the rank with more than 40 laps and a 23 finish?
24.0