
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 length of the hypotenuse of an isosceles right triangle is 40. A circle with a radius of 9 touches the hypotenuse at its midpoint. Find the length of the segment cut off by this circle on one of the legs of the triangle.

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