Definition: The task is to generate the correct answer for a given math problem.
Input: Problem: little john had $ 7.10 . he spent $ 1.05 on sweets and gave to his two friends $ 1.00 each . how much money was left ?
