Task: Program Execution
Input (English): 3, 3, ['9739', 'h', '9577', 'E', 'T', '1151']
Output (English): 9577