A farmer sells apples at $3 per kilogram. He sold 24 kilograms of apples in the morning but had to throw away half of the remaining apples in the afternoon because they spoiled. If he originally had 60 kilograms of apples, how many kilograms of apples does he have left to sell? Let's think step by step and output the final answer within \boxed{}.
user