The school doctor has to treat three students. It takes 2 minutes for Xiaoming to get an injection, 1 minute for Xiaoliang to take the medicine, and 5 minutes for Xiaoli to bandage. How can the total waiting time be minimized?
校医要给三位同学治疗，小明打针要2分钟，小亮吃药要1分钟，小丽包扎要5分钟，怎样安排等候的总时间才最少？
<gadget id="calculator">1 * 3</gadget>
<output>3</output>

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

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

<gadget id="calculator">3 + 4 + 5</gadget>
<output>12</output>

<result>12</result>