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? Use a transition table to explain your reasoning. Wrap the entire output in JSON format.
user