prob_26 solve