Task: Program Execution
Input (English): 3, 9, ['Q', 'X', '9115', 'a', 'A', '1153', 's', 'k', '5685', 'l', '9937', 'j', '1651']
Output (English): 5865ks3511Aa5119