Question
There were grey, red and blue beads in a container. Sean put another 10 grey beads and 2 blue beads in the container, then the ratio of the number of red beads to the number of blue beads became 5 : 3. Then, he doubled the number of grey beads and removed 17 blue beads. The ratio of the number of grey beads to red beads became 2 : 1. He counted and found that there were a total of 127 beads left in the container. Find the number of grey beads that he had in the end.
5 m

Click button first when a symbol is required. X

There were grey, red and blue beads in a container. Sean put another 10 grey beads and 2 blue beads in the container, then the ratio of the number of red beads to the number of blue beads became 5 : 3. Then, he doubled the number of grey beads and removed 17 blue beads. The ratio of the number of grey beads to red beads became 2 : 1. He counted and found that there were a total of 127 beads left in the container. Find the number of grey beads that he had in the end.