Question
There were green, yellow and silver balls in a bottle. Sean put another 6 green balls and 7 silver balls in the bottle, then the ratio of the number of yellow balls to the number of silver balls became 5 : 2. Then, he doubled the number of green balls and removed 16 silver balls. The ratio of the number of green balls to yellow balls became 2 : 1. He counted and found that there were a total of 35 balls left in the bottle. Find the number of green balls that he had at first.
5 m

Click button first when a symbol is required. X

There were green, yellow and silver balls in a bottle. Sean put another 6 green balls and 7 silver balls in the bottle, then the ratio of the number of yellow balls to the number of silver balls became 5 : 2. Then, he doubled the number of green balls and removed 16 silver balls. The ratio of the number of green balls to yellow balls became 2 : 1. He counted and found that there were a total of 35 balls left in the bottle. Find the number of green balls that he had at first.