For sound waves, if the number of nodes for the $5^{th}$ harmonic of an open-ended pipe is n and that for the $9^{th}$ harmonic of the same pipe with one of its ends closed is m, the ratio $\frac{n}{m}$ is