Task: Program Execution
Input (English): ccmimmcmicc
Output (English): mim