Task: Program Execution
Input (English): 3, 10, ['a', 'Z', 'g', 'R', 'F', '1', 'z', '1361', 'Q', '713']
Output (English): gRF1z1361Q713