Task: Program Execution
Input (English): 3, 5, ['f', '25', '5685', '6875', 'D', 'h', '5313', '2167', '9927', '2109', 'O', 'D', 'h', '3481', '1881', 'X', 'O']
Output (English): 5685, 2167, h