There are 96 balls in total in the two bags of A and B. If (1/5) is taken from bag A and (3/7) is taken from bag B, the remaining balls in the two bags are the same. How many balls are there in bag A?
甲乙两袋共96个小球，如果从甲袋取出(1/5)，从乙袋取出(3/7)，则两袋子剩下的球一样多．甲袋原来各有多少个球．
<gadget id="calculator">4 / 5</gadget>
<output>4/5 = around 0.8</output>

<gadget id="calculator">4 / 7</gadget>
<output>4/7 = around 0.571429</output>

<gadget id="calculator">(4/5) / (4/7)</gadget>
<output>7/5 = around 1.4</output>

<gadget id="calculator">1 + (7/5)</gadget>
<output>12/5 = around 2.4</output>

<gadget id="calculator">96 / (12/5)</gadget>
<output>40</output>

<result>40</result>