Task: Program Execution
Input (English): 3, 3, ['I', '967', '4413', 'x', 'K', '701']
Output (English): 4413