A certain elementary school invested 40,000 yuan in equipping a music room, saving (1/8) compared to the original plan. How much was the original plan to invest?
某小学装备一间音乐室投资了4万元，比原计划节省(1/8)，原计划投资多少万元？
<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">4 / (7/8)</gadget>
<output>32/7 = around 4.571429</output>

<result>32/7 = around 4.571429</result>