Task: Program Execution
Input (English): n, c, s, z, Q, J, till, M, L
Output (English): ncszQJtillML