Task: Program Execution
Input (English): here,, Q, M, whale, E, m, z
Output (English): here,QMwhaleEmz