Task: Program Execution
Input (English): 6, ['987', '1301', '4043', 'q', 'U', 'W', 'h', '6721', '3845', '5551', 'x', '3435', 'K', 'Q', '3111', '397', 'M']
Output (English): 987, 1301, 4043, q, U, W