prob 19 solve