Task: Program Execution
Input (English): mmmgagmggammga
Output (English): mgagm