There are four numbers, choose three of them each time, and calculate their average, and calculate four times in this way, and get the following four numbers respectively: 22, 28, 30, 40, then among the original four numbers, What is the smallest number?
有四个数，每次选取其中三个数，算出它们的平均数，用这样的方法计算了四次，分别得到以下四个数：22、28、30、40，那么原来四个数中，最小的一个数是多少？
<gadget id="calculator">40 * 3</gadget>
<output>120</output>

<gadget id="calculator">120 - 120</gadget>
<output>0</output>

<result>0</result>