Task: Program Execution
Input (English): mmgmmssmsmsmgg
Output (English): mmgmm