Task: Program Execution
Input (English): 3, ['3867', '8873', '4725', '2177', 'g', 'D', '5643', '4217']
Output (English): 3867, 8873, 4725, 2177, g