Task: Program Execution
Input (English): 2, ['x', 'g', '9397', '6241', '7695', '7993', '7591', '4739']
Output (English): x, g