Teacher Li buys performance costumes for the students of the school dance team. The money she brings is just enough to buy 40 tops or 60 pairs of trousers. How many sets of performance costumes does Teacher Li bring enough money to buy?
李老师为学校舞蹈队的同学买表演服装，她带的钱刚好可以买40件上衣或刚好买60条裤子，李老师带的钱够买多少套表演服装？
<gadget id="calculator">1 / 40</gadget>
<output>1/40 = around 0.025</output>

<gadget id="calculator">1 / 60</gadget>
<output>1/60 = around 0.016667</output>

<gadget id="calculator">(1/40) + (1/60)</gadget>
<output>1/24 = around 0.041667</output>

<gadget id="calculator">1 / (1/24)</gadget>
<output>24</output>

<result>24</result>