prob_20 solve