Task: Program Execution
Input (English): 3, ['3907', '479', 'G', 'g', '3911', '6003', 'J', '8343', 'D']
Output (English): 3907, 479, G