There are the same number of red balls and yellow balls in the box, and 5 red balls and 3 yellow balls are taken out each time. After taking several times, there are still 2 red balls and 14 yellow balls left. How many red balls are there.
箱子里有同样多的红球和黄球，每次取出5个红球和3个黄球，取了若干次后，红球还剩2个，黄球还剩14个，那么，箱子里原来有红球多少个．
<gadget id="calculator">14 - 2</gadget>
<output>12</output>

<gadget id="calculator">5 - 3</gadget>
<output>2</output>

<gadget id="calculator">12 / 2</gadget>
<output>6</output>

<gadget id="calculator">5 * 6</gadget>
<output>30</output>

<gadget id="calculator">30 + 2</gadget>
<output>32</output>

<result>32</result>