
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 wholesaler gives different discounts based on the size of the customer's order. The steps to calculate the amount payable by the customer are as follows:  
S1 Input the order amount x (unit: pieces); input the unit price A (unit: yuan);  
S2 If x < 250, then the discount rate d=0;  
If 250 ≤ x < 500, then the discount rate d=0.05;  
If 500 ≤ x < 1000, then the discount rate d=0.10;  
If x ≥ 1000, then the discount rate d=0.15;  
S3 Calculate the payable amount T=Ax(1-d) (unit: yuan);  
S4 Output the payable amount T.  
It is known that a customer pays 38000 yuan for 400 pieces, then the order amount is     pieces when the payable amount is 88200 yuan.

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