An athlete conducts a shooting test and shoots a total of 20 rounds. It is stipulated that 20 points will be scored for each shot, and 12 points will be deducted for each missed shot. In the end, the athlete will get a total of 240 points. How many rounds did the athlete hit in total?
某运动员进行射击考核，共打20发子弹．规定每中一发记20分，脱靶一发扣12分，最后这名运动员共得240分．问这名运动员共打中几发？
<gadget id="calculator">20 * 20</gadget>
<output>400</output>

<gadget id="calculator">400 - 240</gadget>
<output>160</output>

<gadget id="calculator">20 + 12</gadget>
<output>32</output>

<gadget id="calculator">160 / 32</gadget>
<output>5</output>

<gadget id="calculator">20 - 5</gadget>
<output>15</output>

<result>15</result>