Task: Program Execution
Input (English): 2, ['9731', 'r', 'K', 'M']
Output (English): 9731, K