factory has two workshops, A and B. If 1/8 of the number of people in workshop A is transferred to workshop B, then the number of people in workshops A and B is just equal. There are 40 people in workshop A, and how many people in workshop B?
某工厂有甲乙两个车间，若把甲车间人数的(1/8)调到乙车间，那么甲、乙两车间人数正好相等，甲车间原有40人，乙车间原有多少人？
<gadget id="calculator">1 / 8</gadget>
<output>1/8 = around 0.125</output>

<gadget id="calculator">40 * (1/8) * 2</gadget>
<output>10</output>

<gadget id="calculator">40 - 10</gadget>
<output>30</output>

<result>30</result>