Task: Program Execution
Input (English): AMqA
Output (English): Mq