There is a box of glass checkers beads. Among them, 10 are red, 9 are green, 8 are yellow, and 2 are white. How many beads should be taken at least at a time to ensure that 4 of the beads taken out have the same color.
有一盒玻璃跳棋珠子．其中红色10颗，绿色9颗，黄色8颗，白色2颗．一次最少拿多少颗珠子才能保证取出的珠子中有4颗颜色相同．
<gadget id="calculator">2 + 3 + 3 + 3 + 1</gadget>
<output>12</output>

<result>12</result>