Task: Program Execution
Input (English): 2, ['8977', 'q', 'b', 'm', 'k', '1171', 'o']
Output (English): 8977, q