Xiao Ming has a savings box, which contains three different banknotes, of which 2 yuan is 22 more than 5 yuan. According to the amount of money, 5 yuan is 40 yuan more than 2 yuan, and there are 36 1 yuan notes. How much money does Xiao Ming have?
小明有一个储蓄箱，存有三种不同的纸币，其中2元比5元多22张，按钱数算，5元却比2元多40元，另外还有36张1元的．小明共存多少元？
<gadget id="calculator">2 * 22</gadget>
<output>44</output>

<gadget id="calculator">40 + 44</gadget>
<output>84</output>

<gadget id="calculator">5 - 2</gadget>
<output>3</output>

<gadget id="calculator">84 / 3</gadget>
<output>28</output>

<gadget id="calculator">5 * 28</gadget>
<output>140</output>

<gadget id="calculator">28 + 22</gadget>
<output>50</output>

<gadget id="calculator">2 * 50</gadget>
<output>100</output>

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

<gadget id="calculator">140 + 100 + 36</gadget>
<output>276</output>

<result>276</result>