Task: Program Execution
Input (English): s
R
M
P
m
pain;
f
P
tapered
w
Output (English): sRMPmpain;fPtaperedw