Task: Program Execution
Input (English): QAcMdAVRT
Output (English): QcMdVRT