Definition: The task is to generate the correct answer for a given math problem.
Input: Problem: andrew purchased 8 kg of grapes at the rate of 70 per kg and 9 kg of mangoes at the rate of 55 per kg . how much amount did he pay to the shopkeeper ?
