In Yongfeng Township, a canal was built in three days. On the first day, the full length (2/5) was repaired and it was still 12 meters short, the remaining (1/3) was repaired on the second day, and the remaining (1/3) was repaired by 28 meters, and on the third day, it was repaired by 180 meters. How many meters is this canal in total?
永丰乡三天修完一条水渠．第一天修了全长的(2/5)还少12米，第二天修了剩下的(1/3)还多28米，第三天修了180米．这条水渠一共长多少米？
<gadget id="calculator">180 + 28</gadget>
<output>208</output>

<gadget id="calculator">1 / 3</gadget>
<output>1/3 = around 0.333333</output>

<gadget id="calculator">1 - (1/3)</gadget>
<output>2/3 = around 0.666667</output>

<gadget id="calculator">208 / (2/3)</gadget>
<output>312</output>

<gadget id="calculator">312 - 12</gadget>
<output>300</output>

<gadget id="calculator">2 / 5</gadget>
<output>2/5 = around 0.4</output>

<gadget id="calculator">1 - (2/5)</gadget>
<output>3/5 = around 0.6</output>

<gadget id="calculator">300 / (3/5)</gadget>
<output>500</output>

<result>500</result>