Definition: You are given a math word problem and you are supposed to apply addition or subtraction mathematical operators on the numbers embedded in the text to answer the following question and then only report the final numerical answer.
Input: Mary has 9 yellow marbles . Joan has 3 yellow marbles . How many yellow marbles do they have in all ?
Output:
12