There are 1200 workers in a certain factory. Due to work needs, 1/8 of the male workers are transferred out, and 30 new female workers are recruited. At this time, the number of male and female workers is equal. How many male workers were there in this factory?
某工厂有工人1200人，因工作需要，调走了男工的(1/8)，又新招女工30人，这时男女工人数相等．这个工厂原有男工多少人？
<gadget id="calculator">1_200 + 30</gadget>
<output>1_230</output>

<gadget id="calculator">1 / 8</gadget>
<output>1/8 = around 0.125</output>

<gadget id="calculator">1 - (1/8)</gadget>
<output>7/8 = around 0.875</output>

<gadget id="calculator">1 + (7/8)</gadget>
<output>15/8 = around 1.875</output>

<gadget id="calculator">1_230 / (15/8)</gadget>
<output>656</output>

<result>656</result>