Task: Program Execution
Input (English): 3, 5, ['j', 'g', '1385', '6175', '9995', 'E', '1929', 'H', '1301', '3089', '1339', '6875', '5823']
Output (English): 9995, 6175, 1385