There were 30 bricks, and the two brothers competed to pick them. The younger brother rushed to the front, and the bricks had just been placed when the elder brother arrived. The elder brother saw that the younger brother picked too many, so he grabbed half of them. The younger brother refused, and took half of it from his elder brother. The elder brother refused to accept it, so the younger brother had to give the elder brother 6 yuan. At this time, the elder brother picked 2 yuan more than the younger brother. Then how many bricks did the younger brother plan to pick at first?
有砖30块，兄弟二人争着去挑．弟弟抢在前面，刚摆好砖，哥哥赶到了．哥哥看弟弟挑的太多，就抢过一半．弟弟不肯，又从哥哥那儿抢走一半．哥哥不服，弟弟只好给哥哥6块，这时哥哥比弟弟多挑2块．则最初弟弟准备挑多少块砖．
<gadget id="calculator">30 + 2</gadget>
<output>32</output>

<gadget id="calculator">32 / 2</gadget>
<output>16</output>

<gadget id="calculator">16 - 6</gadget>
<output>10</output>

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

<gadget id="calculator">10 + 0 + 10 + 0</gadget>
<output>20</output>

<result>20</result>