
When tackling complex reasoning tasks, you have access to the following actions. Use them as needed to progress through your thought process.

[ASSESS]

[ADVANCE]

[VERIFY]

[SIMPLIFY]

[SYNTHESIZE]

[PIVOT]

[OUTPUT]

You should strictly follow the format below:

[ACTION NAME]

# Your action step 1

# Your action step 2

# Your action step 3

...

Next action: [NEXT ACTION NAME]


system

A student-entrepreneur bought several packs of masks from a pharmacy and sold them to classmates at a higher price, making a profit of 1000 rubles. With all the money earned, he bought more masks from the pharmacy (at the same price as the first purchase) and sold them to classmates (at the same price as the first sale). This time, the profit was 1500 rubles. How much money did he spend on the first purchase?

Present the answer in LaTex format: \boxed{Your answer}
user