Two isosceles triangles have equal vertical angles and their areas are in the ratio 9:16. What is the ratio of their corresponding altitudes?