If a basket is capable of holding 40 fruit altogether, and there are 3 times as many apples as oranges, how many oranges are there?
Please reason step by step, and put your final answer within \boxed{}.
user