A farmer harvested 120 apples and decided to distribute them equally among his 8 friends. However, 10 apples were found to be rotten and had to be thrown away before distribution. After giving away the apples, the farmer realized he had kept 5 apples for himself. What percentage of the total apples did the farmer keep? Let's think step by step and output the final answer within \boxed{}.
user