Task: Program Execution
Input (English): amaaamimamm
Output (English): maaam