There are some balls of the same size and weight in a box. There are 8 colors of these balls, and 90 balls of each color. Randomly draw a number of balls. If you want to get 4 colored balls, there are at least 9 balls of each of these 4 colors. At least how many balls must be drawn to ensure that the goal can be achieved.
在一个箱子内有一些大小及重量都相同的球，这些球共有8种颜色，每种颜色各90个球．从中随意抽出若干个球，要想得到4种颜色的球，这4种颜色的球每种至少有9个，至少要抽出多少个球才能保证一定可以达成目的．
<gadget id="calculator">8 * 8</gadget>
<output>64</output>

<gadget id="calculator">82 * 3</gadget>
<output>246</output>

<gadget id="calculator">64 + 246 + 1</gadget>
<output>311</output>

<result>311</result>