Task: Program Execution
Input (English): mamzmaamzammama
Output (English): zmaamz