A farmer harvested 50 baskets of fruits. Three-fifths of the baskets contained apples, two-tenths contained oranges, and the remaining baskets contained pears. How many baskets contained pears? Let's think step by step and output the final answer within \boxed{}.
user