The ratio of the number of workers in workshops A and B is 7:3. Due to work needs, 39 workers are temporarily transferred from workshop A to workshop B. At this time, the ratio of workers in workshops A and B is 3:2. How many people are there in the two workshops?
甲、乙两车间工人数之比是7：3，因工作需要，临时从甲车间调39人到乙车间，这时甲、乙车间人数的比是3：2．两车间共有多少人？
<gadget id="calculator">7 + 3</gadget>
<output>10</output>

<gadget id="calculator">7 / 10</gadget>
<output>7/10 = around 0.7</output>

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

<gadget id="calculator">3 / 5</gadget>
<output>3/5 = around 0.6</output>

<gadget id="calculator">(7/10) - (3/5)</gadget>
<output>1/10 = around 0.1</output>

<gadget id="calculator">39 / (1/10)</gadget>
<output>390</output>

<result>390</result>