Definition: 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.
Input: Joan has 47 green and 48 red marbles. Fred took 24 of Joan's greenmarbles. How many green marbles does Joan now have?

23.0