Task: Program Execution
Input (English): 6, 9, ['a', 'B', 'q', 'v', 'A', '4627', '5517', '4661', 'c']
Output (English): 4627, 5517, 4661, c