There are basketballs, volleyballs and footballs in the school sports room. The number of basketballs accounts for (3/5) of the total number of three kinds of balls, and the number of footballs only accounts for 2/3 of volleyballs. There are 18 fewer volleyballs than basketballs. These three kinds of balls How many in total?
学校体育室有篮球、排球和足球，篮球的只数占三种球总数的(3/5)，足球的只数是排球的(2/3)，排球比篮球少18只，这三种球一共多少只？
<gadget id="calculator">3 / 5</gadget>
<output>3/5 = around 0.6</output>

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

<gadget id="calculator">2 + 3</gadget>
<output>5</output>

<gadget id="calculator">(2/5) * (3/5)</gadget>
<output>6/25 = around 0.24</output>

<gadget id="calculator">(3/5) - (6/25)</gadget>
<output>9/25 = around 0.36</output>

<gadget id="calculator">18 / (9/25)</gadget>
<output>50</output>

<result>50</result>