Task: Program Execution
Input (English): 5, 8, ['U', 'K', '8895', '1097', 'q', '519', '8805', '7471', 'K', '623', '8317']
Output (English): 7471, 8805, 519, q