Task: Program Execution
Input (English): 2, ['3973', 'r', '4077', 'n', 'e', 'z', 'Q']
Output (English): 3973, r