In the "June 1st" garden party, the kindergarten gave half of the bought candies to the senior class, and gave the remaining half to the middle class, leaving 2.5kg. How many kilograms of candy did the kindergarten buy in total?
"六一"游园会，幼儿园把买来的糖果分给大班一半，又把剩下的一半送给了中班，还剩下2.5kg．幼儿园一共买来多少千克糖果．
<gadget id="calculator">2.5 * 2 * 2</gadget>
<output>10</output>

<result>10</result>