Task: Program Execution
Input (English): 3, ['5431', 'r', '4165', 'Q', '3677', '7651', 'K', 'x', '2739', '4847', '5659', 'V']
Output (English): Q, 3677, 7651, K, x, 2739, 4847, 5659, V