
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 right triangle has a perimeter of 40 and an area of 30. What is the length of its hypotenuse?
A) 17.5
B) 18
C) 18.5
D) 19
E) 19.5

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