
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
Let \( D \) be the midpoint of the hypotenuse \( BC \) of the right triangle \( ABC \). On the leg \( AC \), a point \( M \) is chosen such that \(\angle AMB = \angle CMD\). Find the ratio \(\frac{AM}{MC}\).

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