The store bought a batch of footballs at a wholesale price of 30 yuan each, and sold them at a retail price of 45 yuan each. When there were 30 footballs left, the profit was 1,500 yuan. How many footballs did the store buy?
商店以每个30元的批发价购进一批足球，按每个45元的零售价卖出，当卖到还剩30个足球时，已获利1500元，请问商店购进足球多少个？
<gadget id="calculator">45 * 30</gadget>
<output>1_350</output>

<gadget id="calculator">1_350 + 1_500</gadget>
<output>2_850</output>

<gadget id="calculator">45 - 30</gadget>
<output>15</output>

<gadget id="calculator">2_850 / 15</gadget>
<output>190</output>

<result>190</result>