Task: Program Execution
Input (English): 5, ['P', 'm', '3441', '7419', 'a', '4825', '7997', '8513', 'q', '9049', '1373', '6313', '4825', 'D', '9847']
Output (English): 4825, 7997, 8513, q, 9049, 1373, 6313, 4825, D, 9847