Task: Program Execution
Input (English): 4, ['D', 'Q', '8389', '7261', '9187', '4995', '5431', '6285', '1949', '2429', 'o', '871']
Output (English): D, 9187, 1949