The half-hour newscast includes 12 minutes of national news, 5 minutes of international news, 5 minutes of sports, and 2 minutes of weather forecasts. The rest is advertisements. How many minutes of advertising are in the newscast?
12+5+5+2=
<gadget id="calculator">12+5+5+2</gadget>
<output>24</output>
24 minutes are accounted for.
There are 30-24=
<gadget id="calculator">30-24</gadget>
<output>6</output>
6 minutes of ads.

<result>6</result>