
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
In triangle PQR below, $\cos Q = \frac{5}{13}$, where PQ = 13. What is QR?

[asy]
pair P,Q,R;
P = (0,12);
Q = (0,0);
R = (5,0);
draw(P--Q--R--cycle);
label("$P$",P,NW);
label("$Q$",Q,SW);
label("$R$",R,SE);
label("$13$",(P+Q)/2,W);
[/asy]

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