
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
Mr. Wang, who runs a clothing business, operates two stores, A and B. Each store can sell a total of 30 pieces of clothing styles A and B in the same period, and for each piece of clothing style A and B sold, store A earns a profit of 30 yuan and 40 yuan respectively, while store B earns a profit of 27 yuan and 36 yuan respectively. One day, Mr. Wang purchased 35 pieces of clothing style A and 25 pieces of clothing style B. How should he distribute the 30 pieces of clothing to each store to ensure that the profit of store B is not less than 950 yuan, and to maximize the total profit? What is the maximum total profit?

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