A right triangle has one leg that is 17 centimeters shorter then the other. If the hypotenuse is 25 what is the length of the two legs