Xiao Gang originally had some pictures, he gave half of the pictures to his younger brother, and later bought 17 more, so he had a total of 48 pictures. How many pictures did Xiao Gang have?
小刚原来有一些画片，他拿出画片的一半送给弟弟，后来又买了17张，这时他共有48张画片．小刚原来有多少张画片？
<gadget id="calculator">48 - 17</gadget>
<output>31</output>

<gadget id="calculator">31 * 2</gadget>
<output>62</output>

<result>62</result>