2010 AIME II Problem 12

Two noncongruent integer-sided isosceles triangles have the same perimeter and the same area.
The ratio of the lengths of the bases of the two triangles is 8: 7.
Find the minimum possible value of their common perimeter.