Task: Program Execution
Input (English): 3, 4, ['3027', 'w', '8471', '8005', 'C']
Output (English): 8471, 8005