Task: Program Execution
Input (English): aapapcacaa
Output (English): apa