
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
The taxi fare in a certain city is charged as follows: the starting fare is 8 yuan for the first 3 km (the fare for distances not exceeding 3 km is at this starting rate); if the distance is more than 3 km but not more than 8 km, the amount exceeding 3 km is charged at a rate of 2.15 yuan per kilometer; for distances exceeding 8 km, the amount exceeding is charged at a rate of 2.85 yuan per kilometer. Additionally, each ride incurs a fuel surcharge of 1 yuan. Someone paid 31.15 yuan for a taxi ride. How many kilometers did the taxi travel?

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