Task: Program Execution
Input (English): 2, ['x', '1783', '9729', 'M', 'K', '1213', '4983']
Output (English): x, 1783