There are 26 bricks, and the two brothers compete to pick them. The younger brother walked in front, and just after the bricks were placed, the older brother came and saw that the younger brother had picked too many, so he brought half of it for himself. The younger brother thought he could do it, so he took half of it from his elder brother. The elder brother refused, so the younger brother had no choice but to give the elder brother 5 yuan, and he only picked 12 yuan. How many yuan did the younger brother plan to pick at first?
有26块砖，兄弟两人争着去挑．弟弟走在前面，刚摆好砖，哥哥来了，看见弟弟挑得太多，就拿来一半给自己．弟弟觉得自己能行，又从哥哥那里拿来一半．哥哥不让，弟弟只好给哥哥5块，自己只挑了12块，问最初弟弟准备挑多少块？
<gadget id="calculator">12 + 5</gadget>
<output>17</output>

<gadget id="calculator">26 - 17</gadget>
<output>9</output>

<gadget id="calculator">5 - 9</gadget>
<output>-4</output>

<gadget id="calculator">12 + (-4)</gadget>
<output>8</output>

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

<result>16</result>