Task: Program Execution
Input (English): 3, 3, ['Z', 'n', '7745', 'o', 'j', '191', '9807', 'U']
Output (English): 7745