Four people lined up in the school water room to receive water. Xiaohua takes 4 minutes, Xiaohongbao takes about 5 minutes, Xiaoping takes only 3 minutes, Xiaoyan's is the smallest, and it is full in 1 minute. Now there is only one faucet, how to arrange the order of the four people so that the total time they spend is the least?
四个人在学校开水房排队接水．小华需要4分钟，小红桶大要5分钟，小萍只要3分钟，小妍的最小，1分钟就接满了．现在只有一个水龙头，如何安排四个人的次序，使她们花费的总时间最少？
<gadget id="calculator">1 * 4</gadget>
<output>4</output>

<gadget id="calculator">3 * 3</gadget>
<output>9</output>

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

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

<gadget id="calculator">4 + 9 + 8 + 5</gadget>
<output>26</output>

<result>26</result>