The long leg of a right triangle is 49 ft longer than the short leg. The hypotenuse is 61 feet long. How long are the legs of the right triangle?