At first, a box contained 9 yellow beads and some brown beads. After some yellow beads were added, 710 of the beads were brown. After 102 gold beads were added to the box and now, 716 of the beads were brown. What was the number of yellow beads added?