Task: Program Execution
Input (English): 3, ['8311', '2407', 'K', '8987', 'A', 'd', 'C', 'b']
Output (English): 8987, A, d, C, b