Definition: The task is to generate the correct answer for a given math problem.
Input: Problem: a salesman sold twice as much pears in the afternoon than in the morning . if he sold $ 360 kilograms of pears that day , how many kilograms did he sell in the morning and how many in the afternoon ?
