Ali is a superstar counter. He has won 22 medals for counting super fast. His friend Izzy is also a really good counter and has 5 less medals than Ali. Together they have 10 times less medals than have been given out for counting. How many medals have been given out for counting?
Izzy has 22-5=
<gadget id="calculator">22-5</gadget>
<output>17</output>
17 medal.
Medals of Ali and Izzy 22+17=
<gadget id="calculator">22+17</gadget>
<output>39</output>
39 medals
10 times their medals is 39*10=
<gadget id="calculator">10*39</gadget>
<output>390</output>
390 medals.

<result>390</result>