Task: Program Execution
Input (English): hSMaCo, aaMakV
Output (English): Ma