Carlos went to a sports store to buy running shoes. Running shoes were on sale, with prices reduced by on every pair of shoes. Carlos also knew that he had to pay a sales tax on the discounted price. He had dollars. What is the original (before discount) price of the most expensive shoes he could afford to buy?