The lengths of the legs of a right triangle are 8cm and 15cm. What is the length of the hypotenuse?

A17 cm
B23 cm
C46 cm