At first, a container contained 2 yellow beads and some red beads. After some yellow beads were added, 25 of the beads were red. After 54 green beads were added to the container and now, 211 of the beads were red. What was the number of yellow beads added?