Task: Program Execution
Input (English): 3, 5, ['l', '2573', '7495', 'K', 'Z', '9575', 'h', 'Q']
Output (English): 7495KZ