Car A costs $10,000 to buy and costs an average of $0.25 per mile to maintain. Car B costs $15,000 to buy and costs an average of $0.15 per mile to maintain. After how many miles would the total cost for each car be the same?