The distance from Xiao Ming's home to school is 1000 meters. One day Xiao Ming went to school, walked halfway, and found that he forgot to bring his notebook, so he went back to get his notebook. After taking the notebook, Xiao Ming rushed to school. Question: How many meters did Xiao Ming walk in total?
小明家到学校的距离是1000米，有一天小明去上学，走了一半路，发现忘记带笔记本了，于是他又回去拿笔记本．拿了笔记本后，小明赶去学校．问：小明一共走了多少米？
<gadget id="calculator">1_000 / 2</gadget>
<output>500</output>

<gadget id="calculator">500 * 2</gadget>
<output>1_000</output>

<gadget id="calculator">1_000 + 1_000</gadget>
<output>2_000</output>

<result>2_000</result>