Xiao Ming collected some stamps. He took out half of the stamps and gave 3 extra stamps to Xiaojun. He had 26 stamps left. How many stamps did Xiao Ming have?
小明收集了一些邮票，他拿出邮票的一半还多了3张送给小军，自己还剩26张，小明原有邮票多少张？
<gadget id="calculator">26 + 3</gadget>
<output>29</output>

<gadget id="calculator">29 * 2</gadget>
<output>58</output>

<result>58</result>