what is the total time in office with a rank smaller than 18, and premier is joh bjelke-petersen?
19years, 115days