Solved problem 13235_InverseRMQ