Task: Program Execution
Input (English): 3, 7, ['D', '9871', 'H', 'n', 'Q', '8625', '9429', 'I', '9669', '3177']
Output (English): H, n, Q, 8625, 9429