A farmer has 120 apples. He decides to sell them at a local market. He sells the first batch of apples to a customer, keeping 10% of the apples for himself. He then sells half of the remaining apples to another customer. After these sales, he gives 15 apples to a friend. How many apples does the farmer have left? Let's think step by step and output the final answer within \boxed{}.
user