The teachers of two schools in the Hubin New Area are transferred. The ratio of the number of teachers in School A and B is 7:3. If 30 people are transferred from School A to School B, then the ratio of the number of teachers in School A and School B is 3:2. How many teachers did the school have in total?
湖滨新区两个学校教师流动，甲乙两学校教师人数之比为7：3，如果从甲学校调出30人到乙学校，那么甲、乙两学校教师人数之比为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">2 + 3</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">30 / (1/10)</gadget>
<output>300</output>

<result>300</result>