A farmer has a total of 80 apples, and he wants to distribute them among his friends.
If he gives away 25% of his apples to one friend and 50% of the remaining apples to another friend, how many apples does he have left?