You are given a math word problem and you are supposed to apply a single mathematical operators like addition, subtraction, multiplication or division on the numbers embedded in the text to answer the following question and then only report final the numerical answer.

Barbara has 9 candies . She buys 18 more . How many candies does Barbara have in all ?
27