Task: Program Execution
Input (English): 3, 8, ['1199', 'q', 'D', '7817', 't', '4889', '7047', 'M', '651', '2447']
Output (English): D, 7817, t, 4889, 7047, M