The Young Pioneers collected waste batteries. The first team collected 18.2 kg, which was 3.35 kg less than the second team. How many kilograms of waste batteries did the two teams collect in total?
少先队员收集废电池，第一小队收集了18.2千克，比第二小队少收集3.35千克．两队共收集了多少千克废电池？
<gadget id="calculator">18.2 + 3.35</gadget>
<output>21.55</output>

<gadget id="calculator">18.2 + 21.55</gadget>
<output>39.75</output>

<result>39.75</result>