Task: Program Execution
Input (English): 4, ['8633', 'G', '8029', '5117', '3491', '9817', 'x', 'M']
Output (English): 8633, G, 8029, 5117