Xiao Ming has a holiday on July 15th, and school starts on September 1st. How many days did he have in total?
小明7月15日放假，9月1日开学，他一共放了多少天假．
<gadget id="calculator">31 - 15</gadget>
<output>16</output>

<gadget id="calculator">16 + 1</gadget>
<output>17</output>

<gadget id="calculator">31 + 1</gadget>
<output>32</output>

<gadget id="calculator">32 - 1</gadget>
<output>31</output>

<gadget id="calculator">17 + 31</gadget>
<output>48</output>

<result>48</result>