Task: Program Execution
Input (English): mmiaiiamaimam
Output (English): iamai