The hypotenuse of a right triangle is 50 millimeters long. One leg of the right triangle is 30 millimeters long. What is the length of the other leg?

20 millimeters
30 millimeters
40 millimeters
60 millimeters