The ratio of apples to oranges in a fruit basket is 3 to 5. If there are 24 apples in the basket, how many oranges are there?