Task: Program Execution
Input (English): 2, ['6387', 'g', 'J', '7951', '99']
Output (English): 6387, g, J