Task: Program Execution
Input (English): 3, 7, ['8485', '1737', 'c', '1129', '6629', '1393', '8589', '8483', '7829', '9361', 'P', 'V']
Output (English): 8589, 1393, 6629, 1129, c