Task: Program Execution
Input (English): 5, 8, ['9151', 'A', 'q', '3785', '4103', 'J', '9611', '2291', 'r', 'O', '4937']
Output (English): 2291, 9611, J, 4103