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:
Sara has 792 black and 122 red marbles. Fred took 233 of Sara'sblack marbles. How many black marbles does Sara now have?
answer:
559.0


question:
Sam's dog had puppies and 8 had spots. He gave 2 to his friends. Henow has 6 puppies. How many puppies did he have to start with?
answer:
8.0


question:
After paying 6 dollars for the pie, Mary has 52 dollars, her friend has43 dollars. How much money did she have before buying the pie?
answer:

58.0