In the figure below, is similar to . What is the length of ? Enter only the number as an integer or decimal.
An image shows two similar right triangles, A B C and X Y Z. Triangle A B C is smaller than triangle X Y Z. In triangle A B C, side A B is 5, side B C is 12, and side C A is 8. In triangle X Y Z, side X Y is labeled N, side Y Z is 27, and side Z X is 18.