You bought food from salesman. You got 5000 units of food and salesman got his 2500 gold coins.