Mary has 9 yellow marbles. Joan has 3 yellow marbles. How many yellow marbles do they have in all?