There are 9 red balls, 6 white balls, and 7 blue balls in the cloth bag. Xiaoling closes her eyes and takes the balls from the cloth bag. How many balls must she take out at least to ensure that she can get each color ball? ball?
布袋里有9个红色小球，6个白色小球，7个蓝色小球，小玲闭着眼睛从布袋里取小球，至少取出多少个小球，才能保证取得每一种颜色的小球？
<gadget id="calculator">9 + 7 + 1</gadget>
<output>17</output>

<result>17</result>