There are 30 balls in a bag, one black ball, one white ball, 6 red balls, 6 blue balls, and 6 green balls. Requires at least three balls of the same color, how many balls should be taken from the bag at least?
一个袋子里一共30个球，有一个黑球和一个白球，还有红球、蓝球、绿球各6个．要求至少有三个球颜色相等，最少要从袋子里拿出几个球？
<gadget id="calculator">2 * 3</gadget>
<output>6</output>

<gadget id="calculator">1 + 1 + 6 + 1</gadget>
<output>9</output>

<result>9</result>