Task: Program Execution
Input (English): 3, ['9809', 'X', '5961', 'm', 'i', '3479', '9773', '3197']
Output (English): m, i, 3479, 9773, 3197