Joanne had a total of 700 red, blue and green beads. 2/5 of the beads were red and the rest were blue and green. She used an equal number of blue and green beads to make some necklaces. In the end, she had 1/3 of the blue beads and 1/2 of the green beads left.
a) How many beads were blue and green?
b) What was the total number of beads left?