In the 2012 clarinet competition for primary and middle school students in Humen Town, a total of 28 primary and secondary schools participated, which was a decrease (1/8) from the total number of schools participating in the previous competition. How many schools participated in the previous competition?
2012年虎门镇中小学生竖笛比赛中，共有28所中小学参加，比上一届参加比赛的学校总数减少了(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">28 / (7/8)</gadget>
<output>32</output>

<result>32</result>