The sides of a triangle are in the ratio 12:13:14. If the perimeter of the triangle is 52 cm, then what is the length of the smallest side ?