Task: Program Execution
Input (English): 5, 5, ['1899', 'e', '4265', 'N', '3747']
Output (English): 3747