
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 the given diagram, $QRS$ is a straight line. Calculate the measure of $\angle RPS,$ in degrees.
[asy]
pair Q=(0,0);
pair R=(1.3,0);
pair SS=(2.3,0);
pair P=(.8,1);

draw(P--Q--R--SS--P--R);

label("$Q$",Q,S);
label("$R$",R,S);
label("$S$",SS,S);
label("$P$",P,N);

label("$32^\circ$",Q+(.12,.05),NE);
label("$58^\circ$",P-(.02,.15),S);
label("$45^\circ$",SS+(-.32,.05),NW);
[/asy]

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