Task: Program Execution
Input (English): 4, 6, ['9307', '5659', '9163', '2417', 'x', 'K']
Output (English): 2417