Task: Program Execution
Input (English): abbaabmbmbabbm
Output (English): abmbmba