A tourist takes a picture of a mountain $14 \mathrm{km}$ away using a camera that has a lens with a focal length of $50 \mathrm{mm}$. She then takes a second picture when she is only $5.0 \mathrm{km}$ away. What is the ratio of the height of the mountain's image on the camera's image sensor for the second picture to its height on the image sensor for the first picture?