instruction:
You are provided with an arithmetic question. Your task is to compute the solution using the given arithmetic operations. The only arithmetic operators needed to answer the questions are'+'(addition) and'-'(subtraction). The answer should be correct to one decimal place.
question:
Melanie had 30 baseball cards, and 9 were torn. Sara bought 18 ofMelanie's baseball cards. How many baseball cards does Melaniehave now?
answer:
12.0


question:
Mike went to 15 basketball games this year, but missed 41. He wentto 39 games last year. How many basketball games did Mike go to intotal?
answer:
54.0


question:
Mary has 9 yellow marbles Joan has 3 yellow marbles. How manyyellow marbles do they have in all?
answer:

12.0