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.

[Q]: A treasure hunter discovered a buried treasure chest filled with atotal of 5155 gems. 45 of the gems were diamonds, and the restwere rubies. How many of the gems were rubies?
[A]: 5110.0


[Q]: A car company produced 3884 cars in North America and 2871 cars inEurope. How many cars is that in all?
[A]: 6755.0


[Q]: Sandy's dog had 8 puppies and 4 had spots. She gave 4 to her friends. How many puppies does she now have?
[A]:
4.0