Task: Program Execution
Input (English): msgmmgmsmsgmm
Output (English): gmmg