At first, a container contained 2 yellow beads and some green beads. After some yellow beads were added, 710 of the beads were green. After 108 silver beads were added to the container and now, 716 of the beads were green. What was the number of yellow beads added?