Task: Program Execution
Input (English): 2, ['m', '6979', 'Q', 'Z', 'N', '7057']
Output (English): m, 6979