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

### Instruction:
A young girl pours 23 blue beads and 16 yellow beads into a bowl. She divides the total into 3 equal parts, removes some beads from each part, and doubles the rest to have 6 beads in each part now. How many beads were removed from each part?

### Response:
There are 23+16 = <<23+16=39>>39 beads in the bowl
Dividing them into 3 equal parts give 39/3 = <<39/3=13>>13 beads each
Before doubling the number of beads, she had 6/2 = <<6/2=3>>3 beads left in each part.
The number of beads removed from each part is 13-3 = <<13-3=10>>10 beads
#### 10