Task: Program Execution
Input (English): iimEsG
Output (English): msG