A farmer has a certain number of apples and oranges. The ratio of apples to oranges is 4:3.
If the farmer has a total of 140 fruits, how many apples does the farmer have?