At the beginning of school, Xiao Ming took out 25% of his New Year's money to pay books and tuition fees, and deposited the rest in the bank. The amount deposited in the bank was 500 yuan more than the book fees and tuition fees. How much did Xiao Ming have?
小明开学初拿出自己压岁钱的25%交书费和学杂费，剩下的存入银行，存入银行的比交的书费和学杂费多500元，小明有多少元？
<gadget id="calculator">25 / 100</gadget>
<output>1/4 = around 0.25</output>

<gadget id="calculator">1 - (1/4) - (1/4)</gadget>
<output>1/2 = around 0.5</output>

<gadget id="calculator">500 / (1/2)</gadget>
<output>1_000</output>

<result>1_000</result>