Huanhuan, Yingying, and Nini went to the school infirmary for treatment at the same time. It takes 4 minutes for Huanhuan to get an injection, 2 minutes for Yingying to prescribe a prescription, and 25 minutes for Nini's massage treatment. The doctor reasonably arranged the treatment order of the three of them so that the sum of their treatment and waiting time was the least. How many minutes is the minimum sum of time
欢欢、迎迎、妮妮三人同时到学校医务室治病．欢欢打针需要4分钟，迎迎开药方需要2分钟，妮妮按摩治疗需25分钟．大夫合理地安排了他们三人的治疗顺序，使他们治疗及等候的时间总和最少．最少的时间总和为多少分钟
<gadget id="calculator">2 * 3</gadget>
<output>6</output>

<gadget id="calculator">4 * 2</gadget>
<output>8</output>

<gadget id="calculator">25 * 1</gadget>
<output>25</output>

<gadget id="calculator">6 + 8 + 25</gadget>
<output>39</output>

<result>39</result>