A right triangle has vertices at the origin, (0, 5) and (12, 0). The triangle was dilated with a scale factor of 3. What is the perimeter of the resulting triangle? Round to the nearest whole number, if necessary.