At a farmers' market, a vendor sells two types of fruits: apples and oranges. Apples are sold at $2.00 each, and oranges are sold at $1.50 each. On a particular day, the vendor sold a total of 50 fruits, earning $90.00 in total sales. How many apples did the vendor sell?