To solve the following problem, think about the agent state at the beginning, the result of the action on the state and the result.
NAME_1 have 10 apples. He gives 5 to NAME_2 who eat 2 for lunch. NAME_1 buys two more apples. How many apples do they have? Avoid using the following keywords: name_1, problem, apple, beginning
user