Task: Program Execution
Input (English): 7, 9, ['2071', '3149', '7635', 'Q', '3903', 'K', 'D', '8371', '8227', '9629', 'p']
Output (English): D, 8371, 8227