Master Zhang alone needs 18 days to complete task A, and 24 days to complete task B alone; master Liao needs 6 days to complete task A alone, and 30 days to complete task B alone. If two people work together to complete two tasks, how many days is the minimum required?
张师傅单独完成甲项工作要18天，单独完成乙项工作要24天；廖师傅单独完成甲项工作要6天，单独完成乙项工作要30天．如果两人合作完成两项工作，最少需要多少天？
<gadget id="calculator">1 / 24</gadget>
<output>1/24 = around 0.041667</output>

<gadget id="calculator">(1/24) * 6</gadget>
<output>1/4 = around 0.25</output>

<gadget id="calculator">1 - (1/4)</gadget>
<output>3/4 = around 0.75</output>

<gadget id="calculator">1 / 30</gadget>
<output>1/30 = around 0.033333</output>

<gadget id="calculator">(1/24) + (1/30)</gadget>
<output>3/40 = around 0.075</output>

<gadget id="calculator">(3/4) / (3/40)</gadget>
<output>10</output>

<gadget id="calculator">6 + 10</gadget>
<output>16</output>

<result>16</result>