Xiao Ming has 12 pieces of candy. After Xiao Ming gives Xiao Fang 2 pieces of candy, they both have the same amount of candy. How many pieces of candy did Xiao Fang originally have?
小明有12块糖，小明给小芳2块糖后，他们的糖一样多，小芳原来有多少块糖．
<gadget id="calculator">2 * 2</gadget>
<output>4</output>

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

<result>8</result>