Aunt Zhang distributed the same number of apples and oranges to several children, and each child got 1 apple and 3 oranges. Finally, the oranges are divided, and there are 12 apples left. So how many children were distributed in total?
张阿姨把相同数量的苹果和橘子分给若干名小朋友，每名小朋友分得1个苹果和3个橘子．最后橘子分完了，苹果还剩下12个．那么一共分给了多少名小朋友．
<gadget id="calculator">3 - 1</gadget>
<output>2</output>

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

<result>6</result>