Task: Program Execution
Input (English): 2, ['q', 'H', '8167', '3661', '8747', '6177']
Output (English): q, H, 8167, 3661