Below is an instruction that describes a task. Write a response that appropriately completes the request in English. Please answer in English.

### Instruction:
Clive opens a box full of different colored balls.  The box contains 6 blue balls, 4 red balls, 3 times as many green balls as blue ones and twice as many yellow ones as red ones.  How many balls are in the box Clive opens?

### Response:
There are 3 times as many green balls as blue balls so green balls = blue balls * 3
There are 6 blue balls so green balls = 6 blue balls * 3 = <<6*3=18>>18 green balls
There are 2 times as many yellow balls as red ones so yellow balls = red balls * 2
There are 4 red balls so yellow balls = 4 red balls * 2 = <<4*2=8>>8 yellow balls
The total number of all the balls is 6 blue + 4 red + 18 green + 8 yellow: 6+4+18+8 = <<6+4+18+8=36>>36 balls
#### 36