It rained heavily recently and damaged the road from Zhangcun to Licun. The city leaders planned to rebuild a road. Team A completed the repair in 12 days alone, and Team B completed the repair in 18 days alone. Now, after Team A works alone for a few days, Team A and Team B work together to complete it in 8 days. How many days do you think Team A spent alone?
近日连下大雨，冲坏了从张村到李村的公路，市领导打算重修一条公路，甲队单独修12天完成，乙队单独修18天完成．现甲队单独修若干天后，甲、乙两队合修，共8天完成．你认为甲队单独修了多少天？
<gadget id="calculator">1 / 12</gadget>
<output>1/12 = around 0.083333</output>

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

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

<gadget id="calculator">1 / 18</gadget>
<output>1/18 = around 0.055556</output>

<gadget id="calculator">(1/3) / (1/18)</gadget>
<output>6</output>

<gadget id="calculator">8 - 6</gadget>
<output>2</output>

<result>2</result>