The ratio of altitudes of triangles ABC and MNP is $7:12$. If the triangles are similar, what is the ratio of the area of triangle ABC to the area of triangle MNP?