Task: Program Execution
Input (English): 2, 5, ['547', 'q', '2927', '5207', '2949', 'W', 'J', '63', 'j']
Output (English): q, 2927, 5207, 2949