Task: Program Execution
Input (English): 4, ['5009', '2367', '9071', '2387', 'O', 'X', '529', 'a', '9503', 'S', '6753', '1741', '8119', 'Z', '917', 'M', 'I', 'I', '4677', 'z', '8895', '2149']
Output (English): 5009, 2367, 9071, 2387