Task: Program Execution
Input (English): 10, 12, ['x', '4065', 'u', '6465', 'W', '4325', '9757', 'r', 'O', 'c', '3039', 'c', '5869', '893', '4287', 'U', '199', '5791', 'X']
Output (English): 3039