BRAINLIEST ONLY ONE QUESTIONN!!!!!

In triangle XYZ, A is the midpoint of XY, B is the midpoint of YZ, and C is the midpoint of XZ. Also, AY = 7, BZ = 8, and XZ = 18. What is the perimeter of the triangle ABC?