Task: Program Execution
Input (English): 5, 8, ['U', 'm', '9231', '1823', 'T', 'V', '7067', 'q', '1561']
Output (English): T, V, 7067, q