Task: Program Execution
Input (English): 6, 9, ['6947', '8203', 'q', 'd', 'W', 'd', '7971', '5025', 'r', 'l', 'o', '307']
Output (English): d, 7971, 5025, r