Task: Program Execution
Input (English): 4, ['9837', '9419', 'D', '1877', 'Q', '2375', '1141', 'i', 'x']
Output (English): 9837, 9419, D, 1877, Q